rust/tests/ui/macro_use_imports.rs

12 lines
184 B
Rust
Raw Normal View History

2020-03-10 16:35:07 -05:00
// edition:2018
#![warn(clippy::macro_use_imports)]
2020-02-26 06:40:31 -06:00
use std::collections::HashMap;
#[macro_use]
use std::prelude;
fn main() {
let _ = HashMap::<u8, u8>::new();
println!();
}