summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/issue-57672.rs
blob: ee999d83ec2e0107609c7682752df9816a97465d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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() {}