1 // compile-flags: -Z continue-parse-after-error
3 #![feature(optin_builtin_traits)]
8 let _: Box<((Auto)) + Auto>;
9 //~^ ERROR expected a path on the left-hand side of `+`, not `((Auto))`
10 let _: Box<(Auto + Auto) + Auto>;
11 //~^ ERROR expected a path on the left-hand side of `+`, not `(Auto + Auto)`
12 let _: Box<(Auto +) + Auto>;
13 //~^ ERROR expected a path on the left-hand side of `+`, not `(Auto)`
14 let _: Box<(dyn Auto) + Auto>;
15 //~^ ERROR expected a path on the left-hand side of `+`, not `(dyn Auto)`