Skip to content

Commit

Permalink
unify dyn* coercions with other pointer coercions
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Markeffsky committed Sep 24, 2024
1 parent 249210e commit d802a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_utils/src/qualify_min_const_fn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fn check_rvalue<'tcx>(
Rvalue::Cast(CastKind::PointerExposeProvenance, _, _) => {
Err((span, "casting pointers to ints is unstable in const fn".into()))
},
Rvalue::Cast(CastKind::DynStar, _, _) => {
Rvalue::Cast(CastKind::PointerCoercion(PointerCoercion::DynStar), _, _) => {
// FIXME(dyn-star)
unimplemented!()
},
Expand Down

0 comments on commit d802a7a

Please sign in to comment.