1 error[E0178]: expected a path on the left-hand side of `+`, not `((Auto))`
2 --> $DIR/trait-object-bad-parens.rs:8:16
4 LL | let _: Box<((Auto)) + Auto>;
5 | ^^^^^^^^^^^^^^^ expected a path
7 error[E0178]: expected a path on the left-hand side of `+`, not `(Auto + Auto)`
8 --> $DIR/trait-object-bad-parens.rs:10:16
10 LL | let _: Box<(Auto + Auto) + Auto>;
11 | ^^^^^^^^^^^^^^^^^^^^ expected a path
13 error[E0178]: expected a path on the left-hand side of `+`, not `(Auto)`
14 --> $DIR/trait-object-bad-parens.rs:12:16
16 LL | let _: Box<(Auto +) + Auto>;
17 | ^^^^^^^^^^^^^^^ expected a path
19 error[E0178]: expected a path on the left-hand side of `+`, not `(dyn Auto)`
20 --> $DIR/trait-object-bad-parens.rs:14:16
22 LL | let _: Box<(dyn Auto) + Auto>;
23 | ^^^^^^^^^^^^^^^^^ expected a path
25 error: aborting due to 4 previous errors
27 For more information about this error, try `rustc --explain E0178`.