Skip to content

Commit

Permalink
Enforce unsafe binders must be Copy (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Jan 31, 2025
1 parent 62c68e1 commit a9434c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_utils/src/qualify_min_const_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ fn check_rvalue<'tcx>(
Rvalue::CopyForDeref(place) => check_place(tcx, *place, span, body, msrv),
Rvalue::Repeat(operand, _)
| Rvalue::Use(operand)
| Rvalue::WrapUnsafeBinder(operand, _)
| Rvalue::Cast(
CastKind::PointerWithExposedProvenance
| CastKind::IntToInt
Expand Down

0 comments on commit a9434c0

Please sign in to comment.