]>
Commit | Line | Data |
---|---|---|
2c00a5a8 | 1 | error: missing `for` in a trait impl |
dfeec247 | 2 | --> $DIR/impl-parsing.rs:4:11 |
2c00a5a8 | 3 | | |
532ac7d7 | 4 | LL | impl Trait Type {} |
0731742a | 5 | | ^ help: add `for` here |
2c00a5a8 XL |
6 | |
7 | error: missing `for` in a trait impl | |
dfeec247 | 8 | --> $DIR/impl-parsing.rs:5:11 |
2c00a5a8 | 9 | | |
532ac7d7 | 10 | LL | impl Trait .. {} |
0731742a | 11 | | ^ help: add `for` here |
2c00a5a8 XL |
12 | |
13 | error: expected a trait, found type | |
dfeec247 | 14 | --> $DIR/impl-parsing.rs:6:6 |
2c00a5a8 | 15 | | |
532ac7d7 | 16 | LL | impl ?Sized for Type {} |
2c00a5a8 XL |
17 | | ^^^^^^ |
18 | ||
19 | error: expected a trait, found type | |
dfeec247 | 20 | --> $DIR/impl-parsing.rs:7:6 |
2c00a5a8 | 21 | | |
532ac7d7 | 22 | LL | impl ?Sized for .. {} |
2c00a5a8 XL |
23 | | ^^^^^^ |
24 | ||
74b04a01 XL |
25 | error: `default` is not followed by an item |
26 | --> $DIR/impl-parsing.rs:9:1 | |
2c00a5a8 | 27 | | |
532ac7d7 | 28 | LL | default unsafe FAIL |
74b04a01 XL |
29 | | ^^^^^^^ the `default` qualifier |
30 | | | |
31 | = note: only `fn`, `const`, `type`, or `impl` items may be prefixed by `default` | |
32 | ||
33 | error: expected item, found keyword `unsafe` | |
34 | --> $DIR/impl-parsing.rs:9:9 | |
35 | | | |
36 | LL | default unsafe FAIL | |
37 | | ^^^^^^ expected item | |
2c00a5a8 | 38 | |
74b04a01 | 39 | error: aborting due to 6 previous errors |
2c00a5a8 | 40 |