1 // compile-flags: -Zunstable-options
3 #![warn(rustc::internal)]
5 #[allow(rustc::foo::bar::default_hash_types)]
6 //~^ WARN unknown lint: `rustc::foo::bar::default_hash_types`
8 //~| SUGGESTION rustc::default_hash_types
9 #[allow(rustc::foo::default_hash_types)]
10 //~^ WARN unknown lint: `rustc::foo::default_hash_types`
11 //~| HELP did you mean
12 //~| SUGGESTION rustc::default_hash_types
14 let _ = std::collections::HashMap::<String, String>::new();
15 //~^ WARN prefer `FxHashMap` over `HashMap`, it has better performance