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.

24 lines
828 B
Plaintext
Raw Normal View History

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