warning: unknown lint: `rustc::foo::bar::default_hash_types` --> $DIR/issue-83477.rs:4:9 | LL | #[allow(rustc::foo::bar::default_hash_types)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `rustc::default_hash_types` | = note: `#[warn(unknown_lints)]` on by default warning: unknown lint: `rustc::foo::default_hash_types` --> $DIR/issue-83477.rs:8:9 | LL | #[allow(rustc::foo::default_hash_types)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `rustc::default_hash_types` warning: Prefer FxHashMap over HashMap, it has better performance --> $DIR/issue-83477.rs:13:31 | LL | let _ = std::collections::HashMap::::new(); | ^^^^^^^ help: use: `FxHashMap` | note: the lint level is defined here --> $DIR/issue-83477.rs:2:9 | LL | #![warn(rustc::internal)] | ^^^^^^^^^^^^^^^ = note: `#[warn(rustc::default_hash_types)]` implied by `#[warn(rustc::internal)]` = note: a `use rustc_data_structures::fx::FxHashMap` may be necessary warning: 3 warnings emitted