error[E0178]: expected a path on the left-hand side of `+`, not `((Copy))` --> $DIR/trait-object-bad-parens.rs:14:16 | LL | let _: Box<((Copy)) + Copy>; | ^^^^^^^^^^^^^^^ expected a path error[E0178]: expected a path on the left-hand side of `+`, not `(Copy + Copy)` --> $DIR/trait-object-bad-parens.rs:16:16 | LL | let _: Box<(Copy + Copy) + Copy>; | ^^^^^^^^^^^^^^^^^^^^ expected a path error[E0178]: expected a path on the left-hand side of `+`, not `(Copy)` --> $DIR/trait-object-bad-parens.rs:18:16 | LL | let _: Box<(Copy +) + Copy>; | ^^^^^^^^^^^^^^^ expected a path error[E0178]: expected a path on the left-hand side of `+`, not `(dyn Copy)` --> $DIR/trait-object-bad-parens.rs:20:16 | LL | let _: Box<(dyn Copy) + Copy>; | ^^^^^^^^^^^^^^^^^ expected a path error: aborting due to 4 previous errors For more information about this error, try `rustc --explain E0178`.