mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
14 lines
243 B
Rust
14 lines
243 B
Rust
// Warn about unused aliased for the crate
|
|
|
|
//@ edition:2018
|
|
//@ check-pass
|
|
//@ aux-crate:bar=bar.rs
|
|
//@ aux-crate:barbar=bar.rs
|
|
|
|
#![warn(unused_crate_dependencies)]
|
|
//~^ WARNING extern crate `barbar` is unused in
|
|
|
|
use bar as _;
|
|
|
|
fn main() {}
|