rust/src/test/ui/parser/impl-parsing.stderr

33 lines
697 B
Plaintext
Raw Normal View History

error: missing `for` in a trait impl
2018-12-25 09:56:47 -06:00
--> $DIR/impl-parsing.rs:6:11
|
2019-03-09 06:03:44 -06:00
LL | impl Trait Type {}
| ^ help: add `for` here
error: missing `for` in a trait impl
2018-12-25 09:56:47 -06:00
--> $DIR/impl-parsing.rs:7:11
|
2019-03-09 06:03:44 -06:00
LL | impl Trait .. {}
| ^ help: add `for` here
error: expected a trait, found type
2018-12-25 09:56:47 -06:00
--> $DIR/impl-parsing.rs:8:6
|
2019-03-09 06:03:44 -06:00
LL | impl ?Sized for Type {}
| ^^^^^^
error: expected a trait, found type
2018-12-25 09:56:47 -06:00
--> $DIR/impl-parsing.rs:9:6
|
2019-03-09 06:03:44 -06:00
LL | impl ?Sized for .. {}
| ^^^^^^
error: expected `impl`, found `FAIL`
2018-12-25 09:56:47 -06:00
--> $DIR/impl-parsing.rs:11:16
|
2019-03-09 06:03:44 -06:00
LL | default unsafe FAIL
| ^^^^ expected `impl` here
error: aborting due to 5 previous errors