1 // Check that parenthetical notation is feature-gated except with the
9 fn dummy(&self, a: A) { }
13 let x: Box<dyn Foo(isize)>;
14 //~^ ERROR parenthetical notation is only stable when used with `Fn`-family
16 // No errors with these:
17 let x: Box<dyn Fn(isize)>;
18 let x: Box<dyn FnMut(isize)>;
19 let x: Box<dyn FnOnce(isize)>;