rust/tests/ui/error-codes/E0659.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
181 B
Rust
Raw Normal View History

2018-01-16 17:00:17 -06:00
mod moon {
pub fn foo() {}
}
mod earth {
pub fn foo() {}
}
mod collider {
pub use moon::*;
pub use earth::*;
}
fn main() {
collider::foo(); //~ ERROR E0659
}