2025-04-15 07:44:24 +02:00
|
|
|
error[E0178]: expected a path on the left-hand side of `+`
|
2020-01-09 05:56:38 -05:00
|
|
|
--> $DIR/trait-object-bad-parens.rs:8:16
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-01-06 18:33:05 +03:00
|
|
|
LL | let _: Box<((Auto)) + Auto>;
|
2025-04-15 07:44:24 +02:00
|
|
|
| ^^^^^^^^ expected a path
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2025-04-15 07:44:24 +02:00
|
|
|
error[E0178]: expected a path on the left-hand side of `+`
|
|
|
|
|
--> $DIR/trait-object-bad-parens.rs:9:16
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-01-06 18:33:05 +03:00
|
|
|
LL | let _: Box<(Auto + Auto) + Auto>;
|
2025-04-15 07:44:24 +02:00
|
|
|
| ^^^^^^^^^^^^^ expected a path
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2025-04-15 07:44:24 +02:00
|
|
|
error[E0178]: expected a path on the left-hand side of `+`
|
|
|
|
|
--> $DIR/trait-object-bad-parens.rs:10:16
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-01-06 18:33:05 +03:00
|
|
|
LL | let _: Box<(Auto +) + Auto>;
|
2025-04-15 07:44:24 +02:00
|
|
|
| ^^^^^^^^ expected a path
|
2018-10-20 23:36:17 +03:00
|
|
|
|
2025-04-15 07:44:24 +02:00
|
|
|
error[E0178]: expected a path on the left-hand side of `+`
|
|
|
|
|
--> $DIR/trait-object-bad-parens.rs:11:16
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
2019-01-06 18:33:05 +03:00
|
|
|
LL | let _: Box<(dyn Auto) + Auto>;
|
2025-04-15 07:44:24 +02:00
|
|
|
| ^^^^^^^^^^ expected a path
|
2018-10-20 23:36:17 +03:00
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0178`.
|