Skip to content

Commit eeaa63f

Browse files
Remove support for dyn*
1 parent 6709720 commit eeaa63f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

clippy_utils/src/qualify_min_const_fn.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,6 @@ fn check_rvalue<'tcx>(
175175
Rvalue::Cast(CastKind::PointerExposeProvenance, _, _) => {
176176
Err((span, "casting pointers to ints is unstable in const fn".into()))
177177
},
178-
Rvalue::Cast(CastKind::PointerCoercion(PointerCoercion::DynStar, _), _, _) => {
179-
// FIXME(dyn-star)
180-
unimplemented!()
181-
},
182178
Rvalue::Cast(CastKind::Transmute, _, _) => Err((
183179
span,
184180
"transmute can attempt to turn pointers into integers, so is unstable in const fn".into(),

0 commit comments

Comments
 (0)