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 | e77612d3e4ff34d5096fbf7f8a1b9d3a4351770c (patch) | |
| tree | 3470b14311b32da34c7e603629af5d61579e39ba /compiler/rustc_codegen_gcc/example | |
| parent | 8615a6b006c41e02bdc6a46f1061e1e6daaefb22 (diff) | |
| download | rust-e77612d3e4ff34d5096fbf7f8a1b9d3a4351770c.tar.gz rust-e77612d3e4ff34d5096fbf7f8a1b9d3a4351770c.zip | |
Fixes in various places
Diffstat (limited to 'compiler/rustc_codegen_gcc/example')
| -rw-r--r-- | compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs b/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs index 5a7ddc4cd7f..9f096e90220 100644 --- a/compiler/rustc_codegen_gcc/example/mini_core_hello_world.rs +++ b/compiler/rustc_codegen_gcc/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(); |
