rust-clippy/tests/ui/macro_use_imports.rs
2020-03-11 06:35:07 +09:00

11 lines
184 B
Rust

// edition:2018
#![warn(clippy::macro_use_imports)]
use std::collections::HashMap;
#[macro_use]
use std::prelude;
fn main() {
let _ = HashMap::<u8, u8>::new();
println!();
}