We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c960d4 commit 04a32fcCopy full SHA for 04a32fc
compiler/rustc_mir_build/src/build/matches/mod.rs
@@ -34,6 +34,23 @@ use std::mem;
34
35
impl<'a, 'tcx> Builder<'a, 'tcx> {
36
pub(crate) fn then_else_break(
37
+ &mut self,
38
+ block: BasicBlock,
39
+ expr: &Expr<'tcx>,
40
+ temp_scope_override: Option<region::Scope>,
41
+ break_scope: region::Scope,
42
+ variable_source_info: SourceInfo,
43
+ ) -> BlockAnd<()> {
44
+ self.then_else_break_inner(
45
+ block,
46
+ expr,
47
+ temp_scope_override,
48
+ break_scope,
49
+ variable_source_info,
50
+ )
51
+ }
52
+
53
+ fn then_else_break_inner(
54
&mut self,
55
mut block: BasicBlock,
56
expr: &Expr<'tcx>,
0 commit comments