2018-08-08 12:28:26 +00:00
|
|
|
error[E0429]: `self` imports are only allowed within a { } list
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/use-keyword.rs:6:13
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | use self as A;
|
2020-05-03 16:54:21 +00:00
|
|
|
| ^^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error[E0432]: unresolved import `super`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/use-keyword.rs:8:13
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | use super as B;
|
|
|
|
| ^^^^^^^^^^ no `super` in the root
|
|
|
|
|
|
|
|
error[E0432]: unresolved import `super`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/use-keyword.rs:11:21
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | use super::{self as C};
|
|
|
|
| ^^^^^^^^^ no `super` in the root
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0429, E0432.
|
2018-08-08 12:28:26 +00:00
|
|
|
For more information about an error, try `rustc --explain E0429`.
|