rust/tests/ui/imports/issue-8208.stderr

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

22 lines
606 B
Plaintext
Raw Normal View History

2018-07-15 21:11:54 +00:00
error[E0432]: unresolved import `self::*`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-8208.rs:1:5
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | use self::*;
2019-01-16 20:30:41 +00:00
| ^^^^^^^ cannot glob-import a module into itself
2018-07-15 21:11:54 +00:00
error[E0432]: unresolved import `foo::*`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-8208.rs:5:9
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | use foo::*;
2019-01-16 20:30:41 +00:00
| ^^^^^^ cannot glob-import a module into itself
2018-07-15 21:11:54 +00:00
error[E0432]: unresolved import `super::bar::*`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-8208.rs:9:13
2018-07-15 21:11:54 +00:00
|
LL | use super::bar::*;
2019-01-16 20:30:41 +00:00
| ^^^^^^^^^^^^^ cannot glob-import a module into itself
2018-07-15 21:11:54 +00:00
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0432`.