1
Fork 0
rust/tests/ui/parser/issues/issue-27255.stderr

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

33 lines
578 B
Text
Raw Normal View History

2018-10-20 23:36:17 +03:00
error: missing `for` in a trait impl
--> $DIR/issue-27255.rs:3:7
2018-10-20 23:36:17 +03:00
|
LL | impl A .. {}
| ^
|
help: add `for` here
|
LL | impl A for .. {}
| +++
2018-10-20 23:36:17 +03:00
error: missing `for` in a trait impl
--> $DIR/issue-27255.rs:7:7
|
LL | impl A usize {}
| ^^^^^^
|
help: add `for` here
|
LL | impl A for usize {}
| +++
error: `impl Trait for .. {}` is an obsolete syntax
--> $DIR/issue-27255.rs:3:1
|
LL | impl A .. {}
| ^^^^^^^^^^^^
|
= help: use `auto trait Trait {}` instead
error: aborting due to 3 previous errors
2018-10-20 23:36:17 +03:00