Fixes in various places
This commit is contained in:
parent
0174cb1932
commit
3de829e4e5
@ -585,6 +585,7 @@ pub enum E2<X> {
|
||||
V4,
|
||||
}
|
||||
|
||||
#[allow(unreachable_patterns)]
|
||||
fn check_niche_behavior() {
|
||||
if let E1::V2 { .. } = (E1::V1 { f: true }) {
|
||||
intrinsics::abort();
|
||||
|
Loading…
Reference in New Issue
Block a user