]>
Commit | Line | Data |
---|---|---|
2c00a5a8 XL |
1 | error: missing `for` in a trait impl |
2 | --> $DIR/impl-parsing.rs:16:11 | |
3 | | | |
0531ce1d | 4 | LL | impl Trait Type {} //~ ERROR missing `for` in a trait impl |
2c00a5a8 XL |
5 | | ^ |
6 | ||
7 | error: missing `for` in a trait impl | |
8 | --> $DIR/impl-parsing.rs:17:11 | |
9 | | | |
0531ce1d | 10 | LL | impl Trait .. {} //~ ERROR missing `for` in a trait impl |
2c00a5a8 XL |
11 | | ^ |
12 | ||
13 | error: expected a trait, found type | |
14 | --> $DIR/impl-parsing.rs:18:6 | |
15 | | | |
0531ce1d | 16 | LL | impl ?Sized for Type {} //~ ERROR expected a trait, found type |
2c00a5a8 XL |
17 | | ^^^^^^ |
18 | ||
19 | error: expected a trait, found type | |
20 | --> $DIR/impl-parsing.rs:19:6 | |
21 | | | |
0531ce1d | 22 | LL | impl ?Sized for .. {} //~ ERROR expected a trait, found type |
2c00a5a8 XL |
23 | | ^^^^^^ |
24 | ||
25 | error: expected `impl`, found `FAIL` | |
26 | --> $DIR/impl-parsing.rs:21:16 | |
27 | | | |
0531ce1d | 28 | LL | default unsafe FAIL //~ ERROR expected `impl`, found `FAIL` |
2c00a5a8 XL |
29 | | ^^^^ expected `impl` here |
30 | ||
31 | error: aborting due to 5 previous errors | |
32 |