rust/tests/ui/error-codes/E0659.rs
2023-01-11 09:32:08 +00:00

16 lines
181 B
Rust

mod moon {
pub fn foo() {}
}
mod earth {
pub fn foo() {}
}
mod collider {
pub use moon::*;
pub use earth::*;
}
fn main() {
collider::foo(); //~ ERROR E0659
}