diff options
Diffstat (limited to 'tests/ui/imports/absolute-paths-in-nested-use-groups.stderr')
-rw-r--r-- | tests/ui/imports/absolute-paths-in-nested-use-groups.stderr | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/ui/imports/absolute-paths-in-nested-use-groups.stderr b/tests/ui/imports/absolute-paths-in-nested-use-groups.stderr new file mode 100644 index 000000000..e41590ac4 --- /dev/null +++ b/tests/ui/imports/absolute-paths-in-nested-use-groups.stderr @@ -0,0 +1,21 @@ +error[E0433]: failed to resolve: crate root in paths can only be used in start position + --> $DIR/absolute-paths-in-nested-use-groups.rs:6:5 + | +LL | ::bar, + | ^ crate root in paths can only be used in start position + +error[E0433]: failed to resolve: `super` in paths can only be used in start position + --> $DIR/absolute-paths-in-nested-use-groups.rs:7:5 + | +LL | super::bar, + | ^^^^^ `super` in paths can only be used in start position + +error[E0433]: failed to resolve: `self` in paths can only be used in start position + --> $DIR/absolute-paths-in-nested-use-groups.rs:8:5 + | +LL | self::bar, + | ^^^^ `self` in paths can only be used in start position + +error: aborting due to 3 previous errors + +For more information about this error, try `rustc --explain E0433`. |