Skip to content

Commit 4d62301

Browse files
committed
rename MIR int2ptr casts to match library name
1 parent e5ece90 commit 4d62301

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
@@ -112,7 +112,7 @@ fn check_rvalue<'tcx>(
112112
Rvalue::Repeat(operand, _)
113113
| Rvalue::Use(operand)
114114
| Rvalue::Cast(
115-
CastKind::PointerFromExposedAddress
115+
CastKind::PointerWithExposedProvenance
116116
| CastKind::IntToInt
117117
| CastKind::FloatToInt
118118
| CastKind::IntToFloat

0 commit comments

Comments
 (0)