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