1
Fork 0

rename StackPopClean::None to Root

This commit is contained in:
Ralf Jung 2022-01-03 23:07:07 +01:00
parent ddabe0775c
commit d60018b44b
3 changed files with 14 additions and 8 deletions

View file

@ -406,7 +406,7 @@ impl<'mir, 'tcx> ConstPropagator<'mir, 'tcx> {
Instance::new(def_id, substs),
dummy_body,
ret.as_ref(),
StackPopCleanup::None { cleanup: false },
StackPopCleanup::Root { cleanup: false },
)
.expect("failed to push initial stack frame");