blob: 3ca30ebebbab7794d31b24c8a65d46afc62b7edf [file] [log] [blame]
error[E0433]: failed to resolve: global paths cannot start with `super`
--> $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:10:15
|
LL | use ::super::main;
| ^^^^^ global paths cannot start with `super`
error[E0425]: cannot find function `main` in this scope
--> $DIR/use-super-global-path.rs:11:9
|
LL | main();
| ^^^^ not found in this scope
|
help: possible candidate is found in another module, you can import it into scope
|
LL | use main;
|
error: aborting due to 3 previous errors
Some errors have detailed explanations: E0425, E0433.
For more information about an error, try `rustc --explain E0425`.