]> git.lizzy.rs Git - rust.git/blob - src/test/ui/use/use-super-global-path.stderr
Merge commit 'e329249b6a3a98830d860c74c8234a8dd9407436' into clippyup
[rust.git] / src / test / ui / use / use-super-global-path.stderr
1 error[E0433]: failed to resolve: global paths cannot start with `super`
2   --> $DIR/use-super-global-path.rs:7:11
3    |
4 LL |     use ::super::{S, Z};
5    |           ^^^^^ global paths cannot start with `super`
6
7 error[E0433]: failed to resolve: global paths cannot start with `super`
8   --> $DIR/use-super-global-path.rs:7:11
9    |
10 LL |     use ::super::{S, Z};
11    |           ^^^^^ global paths cannot start with `super`
12
13 error[E0433]: failed to resolve: global paths cannot start with `super`
14   --> $DIR/use-super-global-path.rs:11:15
15    |
16 LL |         use ::super::main;
17    |               ^^^^^ global paths cannot start with `super`
18
19 error[E0425]: cannot find function `main` in this scope
20   --> $DIR/use-super-global-path.rs:12:9
21    |
22 LL |         main();
23    |         ^^^^ not found in this scope
24    |
25 help: consider importing this function
26    |
27 LL |     use main;
28    |
29
30 error: aborting due to 4 previous errors
31
32 Some errors have detailed explanations: E0425, E0433.
33 For more information about an error, try `rustc --explain E0425`.