2018-10-20 15:36:17 -05:00
|
|
|
error: missing `for` in a trait impl
|
2019-01-11 22:05:31 -06:00
|
|
|
--> $DIR/issue-27255.rs:3:7
|
2018-10-20 15:36:17 -05:00
|
|
|
|
|
2019-01-11 22:05:31 -06:00
|
|
|
LL | impl A .. {}
|
|
|
|
| ^ help: add `for` here
|
2018-10-20 15:36:17 -05:00
|
|
|
|
2019-01-11 22:05:31 -06:00
|
|
|
error: missing `for` in a trait impl
|
|
|
|
--> $DIR/issue-27255.rs:7:7
|
|
|
|
|
|
|
|
|
LL | impl A usize {}
|
|
|
|
| ^^^^^^ help: add `for` here
|
|
|
|
|
|
|
|
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 15:36:17 -05:00
|
|
|
|