summaryrefslogtreecommitdiffstats
path: root/src/test/ui-fulldeps/internal-lints/default_hash_types.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:19:13 +0000
commit218caa410aa38c29984be31a5229b9fa717560ee (patch)
treec54bd55eeb6e4c508940a30e94c0032fbd45d677 /src/test/ui-fulldeps/internal-lints/default_hash_types.stderr
parentReleasing progress-linux version 1.67.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-218caa410aa38c29984be31a5229b9fa717560ee.tar.xz
rustc-218caa410aa38c29984be31a5229b9fa717560ee.zip
Merging upstream version 1.68.2+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/ui-fulldeps/internal-lints/default_hash_types.stderr')
-rw-r--r--src/test/ui-fulldeps/internal-lints/default_hash_types.stderr39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/test/ui-fulldeps/internal-lints/default_hash_types.stderr b/src/test/ui-fulldeps/internal-lints/default_hash_types.stderr
deleted file mode 100644
index 3cb13082f..000000000
--- a/src/test/ui-fulldeps/internal-lints/default_hash_types.stderr
+++ /dev/null
@@ -1,39 +0,0 @@
-error: prefer `FxHashMap` over `HashMap`, it has better performance
- --> $DIR/default_hash_types.rs:16:41
- |
-LL | let _map: HashMap<String, String> = HashMap::default();
- | ^^^^^^^
- |
- = note: a `use rustc_data_structures::fx::FxHashMap` may be necessary
-note: the lint level is defined here
- --> $DIR/default_hash_types.rs:4:9
- |
-LL | #![deny(rustc::default_hash_types)]
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
-
-error: prefer `FxHashMap` over `HashMap`, it has better performance
- --> $DIR/default_hash_types.rs:16:15
- |
-LL | let _map: HashMap<String, String> = HashMap::default();
- | ^^^^^^^^^^^^^^^^^^^^^^^
- |
- = note: a `use rustc_data_structures::fx::FxHashMap` may be necessary
-
-error: prefer `FxHashSet` over `HashSet`, it has better performance
- --> $DIR/default_hash_types.rs:19:33
- |
-LL | let _set: HashSet<String> = HashSet::default();
- | ^^^^^^^
- |
- = note: a `use rustc_data_structures::fx::FxHashSet` may be necessary
-
-error: prefer `FxHashSet` over `HashSet`, it has better performance
- --> $DIR/default_hash_types.rs:19:15
- |
-LL | let _set: HashSet<String> = HashSet::default();
- | ^^^^^^^^^^^^^^^
- |
- = note: a `use rustc_data_structures::fx::FxHashSet` may be necessary
-
-error: aborting due to 4 previous errors
-