error[E0659]: `foo` is ambiguous --> $DIR/E0659.rs:25:5 | LL | collider::foo(); //~ ERROR E0659 | ^^^^^^^^^^^^^ | note: `foo` could refer to the name imported here --> $DIR/E0659.rs:20:13 | LL | pub use moon::*; | ^^^^^^^ note: `foo` could also refer to the name imported here --> $DIR/E0659.rs:21:13 | LL | pub use earth::*; | ^^^^^^^^ = note: consider adding an explicit import of `foo` to disambiguate error: aborting due to previous error If you want more information on this error, try using "rustc --explain E0659"