]> git.lizzy.rs Git - rust.git/blob - tests/ui/use/use-super-global-path.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / 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: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0433`.