rust/tests/ui/parser/impl-parsing.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
356 B
Text
Raw Normal View History

error: missing `for` in a trait impl
2020-01-08 21:25:42 +03:00
--> $DIR/impl-parsing.rs:4:11
|
2019-03-09 15:03:44 +03:00
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
|
2019-03-09 15:03:44 +03:00
LL | impl ?Sized for Type {}
| ^^^^^^
error: aborting due to 2 previous errors