Skip to content

Commit 0fb1c95

Browse files
committed
work around #48598
1 parent 29f0760 commit 0fb1c95

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc_passes/rvalue_promotion.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ impl<'a, 'tcx> Visitor<'tcx> for CheckCrateVisitor<'a, 'tcx> {
166166
let tcx = self.tcx;
167167
let param_env = self.param_env;
168168
let region_scope_tree = self.tcx.region_scope_tree(item_def_id);
169-
euv::ExprUseVisitor::new(self, tcx, param_env, &region_scope_tree, self.tables, None)
169+
let tables = self.tables; // FIXME(#48598)
170+
euv::ExprUseVisitor::new(self, tcx, param_env, &region_scope_tree, tables, None)
170171
.consume_body(body);
171172

172173
self.visit_body(body);

0 commit comments

Comments
 (0)