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