fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: unknown lint: `rustc::foo::bar::default_hash_types` 2 --> $DIR/issue-83477.rs:5:9 3 | 4LL | #[allow(rustc::foo::bar::default_hash_types)] 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `rustc::default_hash_types` 6 | 7 = note: `#[warn(unknown_lints)]` on by default 8 9warning: unknown lint: `rustc::foo::default_hash_types` 10 --> $DIR/issue-83477.rs:9:9 11 | 12LL | #[allow(rustc::foo::default_hash_types)] 13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `rustc::default_hash_types` 14 15warning: prefer `FxHashMap` over `HashMap`, it has better performance 16 --> $DIR/issue-83477.rs:14:13 17 | 18LL | let _ = std::collections::HashMap::<String, String>::new(); 19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 20 | 21 = note: a `use rustc_data_structures::fx::FxHashMap` may be necessary 22note: the lint level is defined here 23 --> $DIR/issue-83477.rs:3:9 24 | 25LL | #![warn(rustc::internal)] 26 | ^^^^^^^^^^^^^^^ 27 = note: `#[warn(rustc::default_hash_types)]` implied by `#[warn(rustc::internal)]` 28 29warning: 3 warnings emitted 30