mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
14 lines
205 B
Rust
14 lines
205 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();
|
|
}
|