rust/src/test/ui/issues/issue-31212.stderr

17 lines
533 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
|
LL | pub use self::*; //~ ERROR unresolved
| ^^^^^^^ Cannot glob-import a module into itself.
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
|
LL | foo::f(); //~ ERROR cannot find function `f` in module `foo`
| ^ not found in `foo`
error: aborting due to 2 previous errors
Some errors occurred: E0425, E0432.
For more information about an error, try `rustc --explain E0425`.