blob: 611eb3c67ca52299ef73eec1f902cca999bfdd1e [file] [log] [blame]
// edition:2018
#![feature(underscore_imports)]
#![deny(unused_imports)]
mod multi_segment {
use core::any; //~ ERROR unused import: `core::any`
}
mod single_segment {
use core; //~ ERROR unused import: `core`
}
mod single_segment_underscore {
use core as _; // OK
}
fn main() {}