You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
r? @nikomatsakis
This is a pretty big PR conflating changes to a few different block terminators (Call, DivergingCall, Panic, Resume, Diverge), because they are somewhat closely related.
Each commit has a pretty good description on what is being changed in each commit. The end result is greatly simplified CFG and translation for calls (no success branch if the function is diverging, no cleanup branch if there’s nothing to cleanup etc).
Fixes#30480Fixes#29767
Partialy solves #29575Fixes#29573
This happens because functions like
have no return type, but
rustc_trans::mir::lvalue::trans_lvalue
unwraps the option when translating the ReturnPointer Lvalue.The text was updated successfully, but these errors were encountered: