Skip to content

Commit 7f61da9

Browse files
committed
account for safe target features in fndef<->closure and fndef<->fndef coerce-lubs
1 parent 270e88d commit 7f61da9

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
@@ -150,7 +150,7 @@ fn check_rvalue<'tcx>(
150150
CastKind::PointerCoercion(
151151
PointerCoercion::UnsafeFnPointer
152152
| PointerCoercion::ClosureFnPointer(_)
153-
| PointerCoercion::ReifyFnPointer,
153+
| PointerCoercion::ReifyFnPointer(_),
154154
_,
155155
),
156156
_,

0 commit comments

Comments
 (0)