mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
23d5231607
This allows for testing these tests on editions other than 2015
17 lines
195 B
Rust
17 lines
195 B
Rust
mod moon {
|
|
pub fn foo() {}
|
|
}
|
|
|
|
mod earth {
|
|
pub fn foo() {}
|
|
}
|
|
|
|
mod collider {
|
|
pub use crate::moon::*;
|
|
pub use crate::earth::*;
|
|
}
|
|
|
|
fn main() {
|
|
collider::foo(); //~ ERROR E0659
|
|
}
|