mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
15 lines
205 B
Rust
15 lines
205 B
Rust
// aux-build:foo.rs
|
|
// compile-flags:--extern foo
|
|
// check-pass
|
|
// edition:2018
|
|
|
|
#![deny(unused_extern_crates)]
|
|
|
|
extern crate foo as foo_renamed;
|
|
|
|
pub mod m {
|
|
pub use foo_renamed::Foo;
|
|
}
|
|
|
|
fn main() {}
|