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 | 18c7d54993023b25f77bf48355a3659e8838e61d (patch) | |
| tree | 5a0a9052f70b9a0eba3b78c23d011de2dcfb3e68 | |
| parent | 303aef29a09e6afd057621252f66eaa190473e92 (diff) | |
| download | rust-18c7d54993023b25f77bf48355a3659e8838e61d.tar.gz rust-18c7d54993023b25f77bf48355a3659e8838e61d.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 5a7ddc4cd7f..9f096e90220 100644 --- a/example/mini_core_hello_world.rs +++ b/example/mini_core_hello_world.rs @@ -430,6 +430,7 @@ pub enum E2<X> { V4, } +#[allow(unreachable_patterns)] fn check_niche_behavior () { if let E1::V2 { .. } = (E1::V1 { f: true }) { intrinsics::abort(); |
