rust/tests/ui/use/use-super-global-path.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
744 B
Plaintext
Raw Normal View History

error[E0433]: failed to resolve: global paths cannot start with `super`
2018-12-25 08:56:47 -07:00
--> $DIR/use-super-global-path.rs:7:11
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | use ::super::{S, Z};
2018-08-08 14:28:26 +02:00
| ^^^^^ global paths cannot start with `super`
error[E0433]: failed to resolve: global paths cannot start with `super`
2020-01-08 20:02:10 +03:00
--> $DIR/use-super-global-path.rs:7:11
|
LL | use ::super::{S, Z};
| ^^^^^ global paths cannot start with `super`
error[E0433]: failed to resolve: global paths cannot start with `super`
--> $DIR/use-super-global-path.rs:11:15
2018-08-08 14:28:26 +02:00
|
2019-03-09 15:03:44 +03:00
LL | use ::super::main;
2018-08-08 14:28:26 +02:00
| ^^^^^ global paths cannot start with `super`
error: aborting due to 3 previous errors
2018-08-08 14:28:26 +02:00
For more information about this error, try `rustc --explain E0433`.