Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 62c68e1

Browse files
Implement MIR, CTFE, and codegen for unsafe binders
1 parent 7399338 commit 62c68e1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,8 @@ fn check_place<'tcx>(tcx: TyCtxt<'tcx>, place: Place<'tcx>, span: Span, body: &B
289289
| ProjectionElem::Downcast(..)
290290
| ProjectionElem::Subslice { .. }
291291
| ProjectionElem::Subtype(_)
292-
| ProjectionElem::Index(_) => {},
292+
| ProjectionElem::Index(_)
293+
| ProjectionElem::UnwrapUnsafeBinder(_) => {},
293294
}
294295
}
295296

0 commit comments

Comments
 (0)