blob: b2512120dc87cbe5d698127fd0c026f55d00b5ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
error: missing `for` in a trait impl
--> $DIR/impl-parsing.rs:4:11
|
LL | impl Trait Type {}
| ^
|
help: add `for` here
|
LL | impl Trait for Type {}
| +++
error: expected a trait, found type
--> $DIR/impl-parsing.rs:5:6
|
LL | impl ?Sized for Type {}
| ^^^^^^
error: aborting due to 2 previous errors
|