summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/unused/issue-70041.rs
blob: 22e42295eedf302a992441e24eb303f17c838c92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// compile-flags: --edition=2018
// run-pass

macro_rules! regex {
    //~^ WARN unused macro definition
    () => {};
}

#[allow(dead_code)]
use regex;
//~^ WARN unused import

fn main() {}