2 #![warn(rustc::internal)]
4 #[allow(rustc::foo::bar::default_hash_types)]
5 //~^ WARN unknown lint: `rustc::foo::bar::default_hash_types`
7 //~| SUGGESTION rustc::default_hash_types
8 #[allow(rustc::foo::default_hash_types)]
9 //~^ WARN unknown lint: `rustc::foo::default_hash_types`
10 //~| HELP did you mean
11 //~| SUGGESTION rustc::default_hash_types
13 let _ = std::collections::HashMap::<String, String>::new();
14 //~^ WARN Prefer FxHashMap over HashMap, it has better performance