mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
15 lines
209 B
Rust
15 lines
209 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() {}
|