summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/import-crate-var.rs
blob: aac5a15d3e6b5af72ad29531e28ff3f03c1424d0 (plain)
1
2
3
4
5
6
7
8
// aux-build:import_crate_var.rs

#[macro_use] extern crate import_crate_var;

fn main() {
    m!();
    //~^ ERROR `$crate` may not be imported
}