|
| 1 | +error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `=`, found `@` |
| 2 | + --> $DIR/nested-type-ascription-syntactically-invalid.rs:20:15 |
| 3 | + | |
| 4 | +LL | let a: u8 @ b = 0; |
| 5 | + | ^ expected one of 7 possible tokens |
| 6 | + |
| 7 | +error: expected one of `)`, `,`, `@`, or `|`, found `:` |
| 8 | + --> $DIR/nested-type-ascription-syntactically-invalid.rs:26:15 |
| 9 | + | |
| 10 | +LL | let a @ (b: u8); |
| 11 | + | ^ expected one of `)`, `,`, `@`, or `|` |
| 12 | + |
| 13 | +error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `=`, found `)` |
| 14 | + --> $DIR/nested-type-ascription-syntactically-invalid.rs:26:19 |
| 15 | + | |
| 16 | +LL | let a @ (b: u8); |
| 17 | + | ^ expected one of 7 possible tokens |
| 18 | + |
| 19 | +error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `=`, found `@` |
| 20 | + --> $DIR/nested-type-ascription-syntactically-invalid.rs:33:15 |
| 21 | + | |
| 22 | +LL | let a: T1 @ Outer(b: T2); |
| 23 | + | ^ expected one of 7 possible tokens |
| 24 | + |
| 25 | +warning: the feature `bindings_after_at` is incomplete and may cause the compiler to crash |
| 26 | + --> $DIR/nested-type-ascription-syntactically-invalid.rs:4:12 |
| 27 | + | |
| 28 | +LL | #![feature(bindings_after_at)] |
| 29 | + | ^^^^^^^^^^^^^^^^^ |
| 30 | + | |
| 31 | + = note: `#[warn(incomplete_features)]` on by default |
| 32 | + |
| 33 | +error: aborting due to 4 previous errors |
| 34 | + |
0 commit comments