// Check that parenthetical notation is feature-gated except with the // `Fn` traits. use std::marker; trait Foo { type Output; fn dummy(&self, a: A) { } } fn main() { let x: Box; //~^ ERROR parenthetical notation is only stable when used with `Fn`-family // No errors with these: let x: Box; let x: Box; let x: Box; }