-
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
Regression "pattern _
not covered" in objc-encode-0.0.2, Rust 1.16
#40250
Comments
Actually, on beta.3 the error is
|
Also commented on #38972 about this, wasn't sure if it was covered by that issue or not though: #38972 (comment) As far as I know, this should also impact the Void crate, which is used by more stuff |
Ah actually, nevermind, the difference is that the void crate matches a value, where I was matching a reference. The repro case I gave in #38972 is: enum Void { }
fn use_void(v: &Void) -> u32 {
match v { }
}
fn main() { } |
The regression on matching |
So the repro case I gave would only ever have compiled on 1.15? It was feature-gated in 1.14 and is disallowed again in 1.16? |
Ah welp, guess I was just writing the wrong code at the right time. Nothing is using objc-encode yet so I can just change it. |
Apparently 1.15 was the only window where this code would be accepted: rust-lang/rust#40250.
The type is defined as
cc @SSheldon
The text was updated successfully, but these errors were encountered: