-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nightly/beta regression? Sized + UnwindSafe #40011
Comments
I don't recall any changes on the libs side offhand, but @rust-lang/compiler does this look familiar? |
Introduced between |
This is actually @petrochenkov's #39230 exposing a library bug (missing impl<T: UnwindSafe> UnwindSafe for Unique<T> {} EDIT: I checked, and also talked to @nikomatsakis: it seems this trait is the only one affected, and the OIBIT/"auto trait" feature is still gated, so this is fine to break, it's just this regression that wasn't caught. |
Thanks for the investigation @eddyb! |
Add the `?Sized` bound as we don't require the type to be sized. Closes rust-lang#40011
Sent a fix as #40020 |
…ckler std: Relax UnwindSafe impl for Unique Add the `?Sized` bound as we don't require the type to be sized. Closes rust-lang#40011
…ckler std: Relax UnwindSafe impl for Unique Add the `?Sized` bound as we don't require the type to be sized. Closes rust-lang#40011
Add the `?Sized` bound as we don't require the type to be sized. Closes rust-lang#40011
https://is.gd/xWwNn6
Compiles on stable, but fails on beta and nightly.
The text was updated successfully, but these errors were encountered: