We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af0a464 commit e02129fCopy full SHA for e02129f
compiler/rustc_mir_transform/src/inline/cycle.rs
@@ -1,5 +1,4 @@
1
-use rustc_data_structures::fx::{FxHashMap, FxHashSet};
2
-use rustc_data_structures::sso::SsoHashSet;
+use rustc_data_structures::fx::{FxHashMap, FxHashSet, FxIndexSet};
3
use rustc_data_structures::stack::ensure_sufficient_stack;
4
use rustc_hir::def_id::{DefId, LocalDefId};
5
use rustc_middle::mir::TerminatorKind;
@@ -153,7 +152,7 @@ crate fn mir_inliner_callees<'tcx>(
153
152
// Functions from other crates and MIR shims
154
_ => tcx.instance_mir(instance),
155
};
156
- let mut calls = SsoHashSet::new();
+ let mut calls = FxIndexSet::default();
157
for bb_data in body.basic_blocks() {
158
let terminator = bb_data.terminator();
159
if let TerminatorKind::Call { func, .. } = &terminator.kind {
0 commit comments