mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
Miri: remove an outdated FIXME
This commit is contained in:
@@ -75,7 +75,6 @@ pub(super) fn eval_terminator(
|
||||
}
|
||||
|
||||
Drop { location, target, unwind } => {
|
||||
// FIXME(CTFE): forbid drop in const eval
|
||||
let place = self.eval_place(location)?;
|
||||
let ty = place.layout.ty;
|
||||
trace!("TerminatorKind::drop: {:?}, type {}", location, ty);
|
||||
|
||||
Reference in New Issue
Block a user