]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lint/issue-83477.stderr
New upstream version 1.55.0+dfsg1
[rustc.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: the lint level is defined here
22 --> $DIR/issue-83477.rs:3:9
23 |
24 LL | #![warn(rustc::internal)]
25 | ^^^^^^^^^^^^^^^
26 = note: `#[warn(rustc::default_hash_types)]` implied by `#[warn(rustc::internal)]`
27 = note: a `use rustc_data_structures::fx::FxHashMap` may be necessary
28
29 warning: 3 warnings emitted
30