mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
14 lines
201 B
Rust
14 lines
201 B
Rust
// run-pass
|
|
// aux-build:some_crate.rs
|
|
// compile-flags:--extern some_crate
|
|
// edition:2018
|
|
|
|
mod foo {
|
|
pub use some_crate;
|
|
}
|
|
|
|
fn main() {
|
|
::some_crate::hello();
|
|
foo::some_crate::hello();
|
|
}
|