about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2025-02-25 07:43:16 +0000
committerGitHub <noreply@github.com>2025-02-25 07:43:16 +0000
commitcfb827804fb9ee5bd93f8373ef4b9afbc5b0a38b (patch)
tree379f598e24bdd72753363bd43e7af456ed20c186 /compiler/rustc_data_structures/src
parent913612c59e35e6c85182c55a5f7bface4a828a32 (diff)
parent40ba5d25465dc63bff3e3b13b6e592dad8be8435 (diff)
downloadrust-cfb827804fb9ee5bd93f8373ef4b9afbc5b0a38b.tar.gz
rust-cfb827804fb9ee5bd93f8373ef4b9afbc5b0a38b.zip
Merge pull request #4206 from RalfJung/rustup
Rustup
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/sorted_map/index_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/sorted_map/index_map.rs b/compiler/rustc_data_structures/src/sorted_map/index_map.rs
index 1654867739f..b38b09d60eb 100644
--- a/compiler/rustc_data_structures/src/sorted_map/index_map.rs
+++ b/compiler/rustc_data_structures/src/sorted_map/index_map.rs
@@ -147,7 +147,7 @@ impl<I: Idx, K: Ord, V> FromIterator<(K, V)> for SortedIndexMultiMap<I, K, V> {
     where
         J: IntoIterator<Item = (K, V)>,
     {
-        let items = IndexVec::from_iter(iter);
+        let items = IndexVec::<I, _>::from_iter(iter);
         let mut idx_sorted_by_item_key: Vec<_> = items.indices().collect();
 
         // `sort_by_key` is stable, so insertion order is preserved for duplicate items.