blob: 09927a940192a900d572bc541729f8ba34c6e57f [file] [log] [blame]
// Test that the `Fn` traits require `()` form without a feature gate.
fn bar1(x: &Fn<(), Output=()>) {
//~^ ERROR of `Fn`-family traits' type parameters is subject to change
}
fn bar2<T>(x: &T) where T: Fn<()> {
//~^ ERROR of `Fn`-family traits' type parameters is subject to change
}
fn main() { }