Skip to content

Commit cb8bc0b

Browse files
committed
Switch to changing cp_non_overlap in tform
It was suggested to lower this in MIR instead of ssa, so do that instead.
1 parent fb4dc58 commit cb8bc0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ fn check_statement(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, def_id: DefId, statemen
224224
check_operand(tcx, dst, span, body)?;
225225
check_operand(tcx, src, span, body)?;
226226
check_operand(tcx, count, span, body)
227-
},
227+
}
228228
// These are all NOPs
229229
StatementKind::StorageLive(_)
230230
| StatementKind::StorageDead(_)

0 commit comments

Comments
 (0)