rust/tests/ui/suggestions/issue-57672.rs
2024-02-16 20:02:50 +00:00

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() {}