-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustc 1.32.0-nightly "no errors encountered even though delay_span_bug
issued"
#56520
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
Comments
delay_span_bug
issued"
Distilling fn extract_keys(&self, iv: &Option<[u8; shared::IV_SIZE]>) -> Result<Keys, Error> {
let mut encryption_key = [0u8; shared::KEY_LENGTH];
let mut hmac_key = [0u8; shared::KEY_LENGTH];
match &Self {
KeySource::Generate => {
},
KeySource::File(path) => {
},
KeySource::Password(password) => {
}
};
Ok(Keys {
encryption: encryption_key,
hmac: hmac_key,
})
} The error in the code is using |
@mqudsi is this a regression from stable or beta to nightly? |
I'm able to reproduce this with the following enum Test { }
impl Test {
fn ice(&self) {
match &Self {
_ => { println!("ICE"); }
}
}
} |
In that case it seems like a |
It would indeed appear so |
Thanks. |
Happened to me on 1.51.0-nightly
|
@folex do you have a repro? I'm guessing it's a different cause. |
I experienced the following trying to compile a crate with rustc 1.32.0-nightly (0c999ed 2018-12-03).
I put up a copy of the code in the state that caused this at neosmart/securestore-rs@rustc_crash.
The text was updated successfully, but these errors were encountered: