-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Regression in nightly-2020-09-23: "missing as_flags
in implementation" of OpenOptionsExt
#77089
Comments
Whoops, I didn't realize the trait itself was stable. Probably the PR should either be reverted or add a default implementation for |
Assigning P-critical as discussed as part of the Prioritization Working Group procedure and removing I-prioritize. |
|
I was under the impression that the
|
The trait likely should have been sealed, but I think sealed traits were not invented until after 1.0.0. |
Can we retroactively seal |
Wouldn't that be a breaking change? |
Yes, just like adding more methods to it (which has been done several times) |
We could do a crater run to see if sealing it would break anything. |
Well clearly it would - it would break async-std the same way |
@jyn514 My comment was in reference to sealing |
The following code compiles fine with nightly-2020-09-22 (and stable rustc since 1.10.0) but not nightly-2020-09-23.
This is minimized from https://github.com/async-rs/async-std/blob/e8126633a89aafea23259eb9faddb70b89f94423/src/fs/open_options.rs#L303-L313.
Mentioning #76110, #76801, @FedericoPonzi, @joshtriplett.
The text was updated successfully, but these errors were encountered: