]> git.lizzy.rs Git - rust.git/blob - src/test/ui/absolute-paths-in-nested-use-groups.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / absolute-paths-in-nested-use-groups.stderr
1 error[E0433]: failed to resolve. crate root in paths can only be used in start position
2   --> $DIR/absolute-paths-in-nested-use-groups.rs:16:5
3    |
4 LL |     ::bar,       //~ ERROR crate root in paths can only be used in start position
5    |     ^ crate root in paths can only be used in start position
6
7 error[E0433]: failed to resolve. `super` in paths can only be used in start position
8   --> $DIR/absolute-paths-in-nested-use-groups.rs:17:5
9    |
10 LL |     super::bar,  //~ ERROR `super` in paths can only be used in start position
11    |     ^^^^^ `super` in paths can only be used in start position
12
13 error[E0433]: failed to resolve. `self` in paths can only be used in start position
14   --> $DIR/absolute-paths-in-nested-use-groups.rs:18:5
15    |
16 LL |     self::bar,   //~ ERROR `self` in paths can only be used in start position
17    |     ^^^^ `self` in paths can only be used in start position
18
19 error: aborting due to 3 previous errors
20
21 For more information about this error, try `rustc --explain E0433`.