rust/tests/ui/imports/absolute-paths-in-nested-use-groups.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
802 B
Plaintext
Raw Normal View History

error[E0433]: failed to resolve: crate root in paths can only be used in start position
2018-12-25 09:56:47 -06:00
--> $DIR/absolute-paths-in-nested-use-groups.rs:6:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | ::bar,
2018-08-08 07:28:26 -05:00
| ^ 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
2018-12-25 09:56:47 -06:00
--> $DIR/absolute-paths-in-nested-use-groups.rs:7:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | super::bar,
2018-08-08 07:28:26 -05:00
| ^^^^^ `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
2018-12-25 09:56:47 -06:00
--> $DIR/absolute-paths-in-nested-use-groups.rs:8:5
2018-08-08 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | self::bar,
2018-08-08 07:28:26 -05:00
| ^^^^ `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`.