Skip to content

Commit 6b7b547

Browse files
committed
Adjust compiler for HashMap::get_many_mut stabilization
1 parent 885278b commit 6b7b547

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: compiler/rustc_session/src/config/cfg.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ impl CheckCfg {
421421
Some(values_target_os),
422422
Some(values_target_pointer_width),
423423
Some(values_target_vendor),
424-
] = self.expecteds.get_many_mut(VALUES)
424+
] = self.expecteds.get_disjoint_mut(VALUES)
425425
else {
426426
panic!("unable to get all the check-cfg values buckets");
427427
};

Diff for: compiler/rustc_session/src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#![allow(internal_features)]
33
#![feature(iter_intersperse)]
44
#![feature(let_chains)]
5-
#![feature(map_many_mut)]
65
#![feature(rustc_attrs)]
76
#![warn(unreachable_pub)]
87
// tidy-alphabetical-end

0 commit comments

Comments
 (0)