diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-14 13:26:14 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2023-10-21 07:01:25 +0000 |
| commit | 4abea8366339b66932bf80203dd0884366fdb872 (patch) | |
| tree | 80fea6f48cfe6643a7358348611925bcfc08f501 /compiler/rustc_mir_transform/src | |
| parent | df9e5ee03896889ed20d9dc8ebecaed1a429a776 (diff) | |
| download | rust-4abea8366339b66932bf80203dd0884366fdb872.tar.gz rust-4abea8366339b66932bf80203dd0884366fdb872.zip | |
Improve naming and comments.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
| -rw-r--r-- | compiler/rustc_mir_transform/src/jump_threading.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_transform/src/jump_threading.rs b/compiler/rustc_mir_transform/src/jump_threading.rs index 6558b04d4bf..a5ee843e23a 100644 --- a/compiler/rustc_mir_transform/src/jump_threading.rs +++ b/compiler/rustc_mir_transform/src/jump_threading.rs @@ -222,7 +222,7 @@ impl<'tcx, 'a> TOFinder<'tcx, 'a> { // _1 = 5 // Whatever happens here, it won't change the result of a `SwitchInt`. // _1 = 6 if let Some((lhs, tail)) = self.mutated_statement(stmt) { - state.flood_with_extra(lhs.as_ref(), tail, self.map, ConditionSet::default()); + state.flood_with_tail_elem(lhs.as_ref(), tail, self.map, ConditionSet::default()); } } |
