error[E0433]: failed to resolve: use of undeclared type or module `bar` | |
--> $DIR/export2.rs:2:18 | |
| | |
LL | pub fn x() { bar::x(); } | |
| ^^^ use of undeclared type or module `bar` | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0433`. |