2018-08-08 07:28:26 -05:00
|
|
|
error[E0429]: `self` imports are only allowed within a { } list
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/use-mod-4.rs:1:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use foo::self;
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0429]: `self` imports are only allowed within a { } list
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/use-mod-4.rs:4:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | use std::mem::self;
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0432]: unresolved import `foo`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/use-mod-4.rs:1:5
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | use foo::self;
|
2018-11-13 17:52:26 -06:00
|
|
|
| ^^^ maybe a missing `extern crate foo;`?
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
|
|
|
Some errors occurred: E0429, E0432.
|
|
|
|
For more information about an error, try `rustc --explain E0429`.
|