mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +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();
|
|
}
|