rust/tests/ui/imports/import-crate-var.rs

9 lines
148 B
Rust

//@ aux-build:import_crate_var.rs
#[macro_use] extern crate import_crate_var;
fn main() {
m!();
//~^ ERROR `$crate` may not be imported
}