diff options
| author | Nadrieril <nadrieril+git@gmail.com> | 2024-03-20 22:51:29 +0100 |
|---|---|---|
| committer | Nadrieril <nadrieril+git@gmail.com> | 2024-08-10 12:08:46 +0200 |
| commit | 3de829e4e5cd937d71b760a07462842b20258987 (patch) | |
| tree | 52ad5c76cc8973e62723834b9bcd3c1ab668993e | |
| parent | 0174cb193220fbe96fccaf595d63d08747dbbaab (diff) | |
| download | rust-3de829e4e5cd937d71b760a07462842b20258987.tar.gz rust-3de829e4e5cd937d71b760a07462842b20258987.zip | |
Fixes in various places
| -rw-r--r-- | example/mini_core_hello_world.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/mini_core_hello_world.rs b/example/mini_core_hello_world.rs index 7d361a9ab2b..e603ac566f4 100644 --- a/example/mini_core_hello_world.rs +++ b/example/mini_core_hello_world.rs @@ -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(); |
