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

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

17 lines
478 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-31212.rs:5:13
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | pub 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[E0425]: cannot find function `f` in module `foo`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-31212.rs:9:10
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | foo::f();
2018-07-15 21:11:54 +00:00
| ^ not found in `foo`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0425, E0432.
2018-07-15 21:11:54 +00:00
For more information about an error, try `rustc --explain E0425`.