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
Auto merge of rust-lang#115759 - oli-obk:open_drop_from_non-ADT, r=<try>
Reveal opaque types before drop elaboration
fixesrust-lang#113594
r? `@cjgillot`
cc `@JakobDegen`
This pass was introduced in rust-lang#110714
I moved it before drop elaboration (which only cares about the hidden types of things, not the opaque TAIT or RPIT type) and set it to run unconditionally (instead of depending on the optimization level and whether the inliner is active)
&reveal_all::RevealAll,// has to be done before inlining, since inlined code is in RevealAll mode.
530
530
&lower_slice_len::LowerSliceLenCalls,// has to be done before inlining, otherwise actual call will be almost always inlined. Also simple, so can just do first
0 commit comments