blob: 72f2868e0bfd65ea44cbe5bf86aadcfc4a11b3ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// aux-build:macro-use-warned-against.rs
// aux-build:macro-use-warned-against2.rs
// check-pass
#![warn(macro_use_extern_crate, unused)]
#[macro_use] //~ WARN should be replaced at use sites with a `use` item
extern crate macro_use_warned_against;
#[macro_use] //~ WARN unused `#[macro_use]`
extern crate macro_use_warned_against2;
fn main() {
foo!();
}
|