1
Fork 0

Rustup to rustc 1.45.0-nightly (56daaf669 2020-06-03)

This commit is contained in:
bjorn3 2020-06-04 19:57:12 +02:00
parent 1e70c51f60
commit 648b634e21
9 changed files with 35 additions and 32 deletions

View file

@ -414,10 +414,10 @@ pub enum E2<X> {
fn check_niche_behavior () {
if let E1::V2 { .. } = (E1::V1 { f: true }) {
unsafe { intrinsics::abort(); }
intrinsics::abort();
}
if let E2::V1 { .. } = E2::V3::<Infallible> {
unsafe { intrinsics::abort(); }
intrinsics::abort();
}
}