1
Fork 0

Fix new usage of old api

This commit is contained in:
Gary Guo 2022-11-15 18:27:21 +00:00
parent 5cbda2a55e
commit bf6b84b10a
5 changed files with 7 additions and 10 deletions

View file

@ -143,7 +143,7 @@ fn rustc_terminator_to_terminator(
otherwise: targets.otherwise().as_usize(),
},
Resume => Terminator::Resume,
Abort => Terminator::Abort,
Terminate => Terminator::Abort,
Return => Terminator::Return,
Unreachable => Terminator::Unreachable,
Drop { .. } => todo!(),