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