1
Fork 0

dyn* is a valid const

This commit is contained in:
Michael Goulet 2023-04-04 00:28:05 +00:00
parent 48829ea74b
commit 1b5ac39908
3 changed files with 22 additions and 1 deletions

View file

@ -553,7 +553,7 @@ impl<'tcx> Visitor<'tcx> for Checker<'_, 'tcx> {
}
Rvalue::Cast(CastKind::DynStar, _, _) => {
unimplemented!()
// `dyn*` coercion is implemented for CTFE.
}
Rvalue::Cast(_, _, _) => {}