mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +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();
|
|
}
|