We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 809cbb1 commit e0dfe11Copy full SHA for e0dfe11
src/tools/clippy/clippy_utils/src/qualify_min_const_fn.rs
@@ -119,6 +119,7 @@ fn check_rvalue<'tcx>(
119
| CastKind::FloatToFloat
120
| CastKind::FnPtrToPtr
121
| CastKind::PtrToPtr
122
+ | CastKind::PtrToMetadata
123
| CastKind::PointerCoercion(PointerCoercion::MutToConstPointer | PointerCoercion::ArrayToPointer),
124
operand,
125
_,
0 commit comments