summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/unused-macro-use.rs
blob: 9f63eb4b4ec0dfad9e901561db327a4b1ab42782 (plain)
1
2
3
4
5
6
7
8
9
10
11
#![deny(unused)]

#[macro_use] //~ ERROR unused `#[macro_use]` import
extern crate core;

#[macro_use(
    panic //~ ERROR unused `#[macro_use]` import
)]
extern crate core as core_2;

fn main() {}