1 error: missing `for` in a trait impl
2 --> $DIR/impl-parsing.rs:4:11
4 LL | impl Trait Type {}
5 | ^ help: add `for` here
7 error: missing `for` in a trait impl
8 --> $DIR/impl-parsing.rs:5:11
11 | ^ help: add `for` here
13 error: expected a trait, found type
14 --> $DIR/impl-parsing.rs:6:6
16 LL | impl ?Sized for Type {}
19 error: expected a trait, found type
20 --> $DIR/impl-parsing.rs:7:6
22 LL | impl ?Sized for .. {}
25 error: `default` is not followed by an item
26 --> $DIR/impl-parsing.rs:9:1
28 LL | default unsafe FAIL
29 | ^^^^^^^ the `default` qualifier
31 = note: only `fn`, `const`, `type`, or `impl` items may be prefixed by `default`
33 error: expected item, found keyword `unsafe`
34 --> $DIR/impl-parsing.rs:9:9
36 LL | default unsafe FAIL
37 | ^^^^^^ expected item
39 error: aborting due to 6 previous errors