Fixes in various places
This commit is contained in:
parent
8615a6b006
commit
e77612d3e4
11 changed files with 12 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue