Skip to content

Commit ee492fc

Browse files
committed
add fixme for the lint level
1 parent f7cc9ea commit ee492fc

File tree

1 file changed

+2
-0
lines changed
  • compiler/rustc_mir_build/src/builder/expr

1 file changed

+2
-0
lines changed

compiler/rustc_mir_build/src/builder/expr/into.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,8 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
250250

251251
let dropless_arena = rustc_arena::DroplessArena::default();
252252
let typeck_results = this.tcx.typeck(this.def_id);
253+
254+
// FIXME use the lint level from `ExprKind::LoopMatch`
253255
let lint_level = this.tcx.local_def_id_to_hir_id(this.def_id);
254256

255257
// the PatCtxt is normally used in pattern exhaustiveness checking, but reused here

0 commit comments

Comments
 (0)