Remove -Zfuel.
This commit is contained in:
parent
f2abf827c1
commit
7fa021ad86
26 changed files with 19 additions and 281 deletions
|
@ -26,11 +26,6 @@ impl<'tcx> crate::MirPass<'tcx> for RemoveUnneededDrops {
|
|||
if ty.ty.needs_drop(tcx, typing_env) {
|
||||
continue;
|
||||
}
|
||||
if !tcx.consider_optimizing(|| {
|
||||
format!("RemoveUnneededDrops {:?}", body.source.def_id())
|
||||
}) {
|
||||
continue;
|
||||
}
|
||||
debug!("SUCCESS: replacing `drop` with goto({:?})", target);
|
||||
terminator.kind = TerminatorKind::Goto { target };
|
||||
should_simplify = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue