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
{{ message }}
Repository navigation
vec::IntoIter<T>: UnwindSafe should not require T: RefUnwindSafe #144707
Currently, vec::IntoIter<T> is only UnwindSafe if T is RefUnwindSafe. It probably inherits this implementation from NonNull, but I don’t think it makes much sense. I really don’t think you can cause state corruption with a vec::IntoIter<RefCell<T>> in scope for example, since they’d all be dropped.
Activity
bjorn3 commentedon Jul 31, 2025
Changing the bound to
T: UnwindSafewould make sense to me, but I don't know if we can do so in a backwards compatible way.SabrinaJewson commentedon Jul 31, 2025
It already requires
T: UnwindSafe, so I don’t think it should be a problem.Rollup merge of rust-lang#145665 - GrigorenkoPV:144707, r=tgross35
Rollup merge of rust-lang#145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of #145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of #145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of #145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of #145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of rust-lang#145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of rust-lang#145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of #145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of rust-lang#145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of #145665 - GrigorenkoPV:144707, r=tgross35
Auto merge of #145665 - GrigorenkoPV:144707, r=tgross35