rust/tests/ui/issues/issue-18119.stderr

22 lines
480 B
Plaintext
Raw Normal View History

2018-07-15 16:11:54 -05:00
error[E0573]: expected type, found constant `X`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-18119.rs:5:6
2018-07-15 16:11:54 -05:00
|
LL | impl X {}
| ^ not a type
error[E0573]: expected type, found static `Y`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-18119.rs:7:6
2018-07-15 16:11:54 -05:00
|
LL | impl Y {}
| ^ not a type
error[E0573]: expected type, found function `foo`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-18119.rs:9:6
2018-07-15 16:11:54 -05:00
|
LL | impl foo {}
| ^^^ not a type
error: aborting due to 3 previous errors
2019-10-09 07:19:48 -05:00
For more information about this error, try `rustc --explain E0573`.