Skip to content

Commit fb4dc58

Browse files
committed
Update cranelift
1 parent 6f60dd8 commit fb4dc58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ fn check_statement(tcx: TyCtxt<'tcx>, body: &Body<'tcx>, def_id: DefId, statemen
219219
StatementKind::LlvmInlineAsm { .. } => Err((span, "cannot use inline assembly in const fn".into())),
220220

221221
StatementKind::CopyNonOverlapping(box rustc_middle::mir::CopyNonOverlapping{
222-
dst, src, size,
222+
dst, src, count,
223223
}) => {
224224
check_operand(tcx, dst, span, body)?;
225225
check_operand(tcx, src, span, body)?;
226-
check_operand(tcx, size, span, body)
226+
check_operand(tcx, count, span, body)
227227
},
228228
// These are all NOPs
229229
StatementKind::StorageLive(_)

0 commit comments

Comments
 (0)