]>
Commit | Line | Data |
---|---|---|
13cf67c4 | 1 | error[E0433]: failed to resolve: global paths cannot start with `super` |
0731742a | 2 | --> $DIR/use-super-global-path.rs:7:11 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | use ::super::{S, Z}; |
b7449926 XL |
5 | | ^^^^^ global paths cannot start with `super` |
6 | ||
13cf67c4 | 7 | error[E0433]: failed to resolve: global paths cannot start with `super` |
0731742a | 8 | --> $DIR/use-super-global-path.rs:10:15 |
b7449926 | 9 | | |
532ac7d7 | 10 | LL | use ::super::main; |
b7449926 XL |
11 | | ^^^^^ global paths cannot start with `super` |
12 | ||
13 | error[E0425]: cannot find function `main` in this scope | |
0731742a | 14 | --> $DIR/use-super-global-path.rs:11:9 |
b7449926 | 15 | | |
532ac7d7 | 16 | LL | main(); |
b7449926 | 17 | | ^^^^ not found in this scope |
e74abb32 | 18 | | |
b7449926 XL |
19 | help: possible candidate is found in another module, you can import it into scope |
20 | | | |
21 | LL | use main; | |
22 | | | |
23 | ||
24 | error: aborting due to 3 previous errors | |
25 | ||
48663c56 | 26 | Some errors have detailed explanations: E0425, E0433. |
b7449926 | 27 | For more information about an error, try `rustc --explain E0425`. |