Miri: remove an outdated FIXME
This commit is contained in:
@@ -75,7 +75,6 @@ impl<'mir, 'tcx, M: Machine<'mir, 'tcx>> InterpCx<'mir, 'tcx, M> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Drop { location, target, unwind } => {
|
Drop { location, target, unwind } => {
|
||||||
// FIXME(CTFE): forbid drop in const eval
|
|
||||||
let place = self.eval_place(location)?;
|
let place = self.eval_place(location)?;
|
||||||
let ty = place.layout.ty;
|
let ty = place.layout.ty;
|
||||||
trace!("TerminatorKind::drop: {:?}, type {}", location, ty);
|
trace!("TerminatorKind::drop: {:?}, type {}", location, ty);
|
||||||
|
|||||||
Reference in New Issue
Block a user