]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/issue-83477.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / issue-83477.stderr
1 warning: unknown lint: `rustc::foo::bar::default_hash_types`
2   --> $DIR/issue-83477.rs:5:9
3    |
4 LL | #[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
9 warning: unknown lint: `rustc::foo::default_hash_types`
10   --> $DIR/issue-83477.rs:9:9
11    |
12 LL | #[allow(rustc::foo::default_hash_types)]
13    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: did you mean: `rustc::default_hash_types`
14
15 warning: prefer `FxHashMap` over `HashMap`, it has better performance
16   --> $DIR/issue-83477.rs:14:13
17    |
18 LL |     let _ = std::collections::HashMap::<String, String>::new();
19    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20    |
21    = note: a `use rustc_data_structures::fx::FxHashMap` may be necessary
22 note: the lint level is defined here
23   --> $DIR/issue-83477.rs:3:9
24    |
25 LL | #![warn(rustc::internal)]
26    |         ^^^^^^^^^^^^^^^
27    = note: `#[warn(rustc::default_hash_types)]` implied by `#[warn(rustc::internal)]`
28
29 warning: 3 warnings emitted
30