Skip to content

Commit 12ef54b

Browse files
committed
Auto merge of #123396 - jhpratt:rollup-oa54mh1, r=jhpratt
Rollup of 5 pull requests Successful merges: - #122865 (Split hir ty lowerer's error reporting code in check functions to mod errors.) - #122935 (rename ptr::from_exposed_addr -> ptr::with_exposed_provenance) - #123182 (Avoid expanding to unstable internal method) - #123203 (Add `Context::ext`) - #123380 (Improve bootstrap comments) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 6726ebd + 998e5dc commit 12ef54b

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)