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 16:11:54 -05:00
error[E0432]: unresolved import `self::*`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-31212.rs:5:13
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | pub use self::*;
2019-01-16 14:30:41 -06:00
| ^^^^^^^ cannot glob-import a module into itself
2018-07-15 16:11:54 -05:00
error[E0425]: cannot find function `f` in module `foo`
2018-12-25 09:56:47 -06:00
--> $DIR/issue-31212.rs:9:10
2018-07-15 16:11:54 -05:00
|
2019-03-09 06:03:44 -06:00
LL | foo::f();
2018-07-15 16:11:54 -05:00
| ^ not found in `foo`
error: aborting due to 2 previous errors
Some errors have detailed explanations: E0425, E0432.
2018-07-15 16:11:54 -05:00
For more information about an error, try `rustc --explain E0425`.