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