We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
SwitchSources
1 parent 427ac5c commit c2720aaCopy full SHA for c2720aa
compiler/rustc_middle/src/mir/basic_blocks.rs
@@ -24,7 +24,7 @@ type Predecessors = IndexVec<BasicBlock, SmallVec<[BasicBlock; 4]>>;
24
// `BasicBlocks::switch_sources`, which is only called by backwards analyses
25
// that do `SwitchInt` handling, and we don't have any of those, not even in
26
// tests. See #95120 and #94576.
27
-type SwitchSources = FxHashMap<(BasicBlock, BasicBlock), SmallVec<[u128; 1]>>;
+type SwitchSources = FxHashMap<(BasicBlock, BasicBlock), SmallVec<[u128; 2]>>;
28
29
#[derive(Clone, Default, Debug)]
30
struct Cache {
0 commit comments