rust/src/test/ui/parser/impl-parsing.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

33 lines
697 B
Plaintext

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