about summary refs log tree commit diff
path: root/compiler/rustc_transmute
diff options
context:
space:
mode:
authorJonathan Gruner <jogru0@gmail.com>2025-04-21 14:15:32 +0200
committerJonathan Gruner <jogru0@gmail.com>2025-04-21 14:15:32 +0200
commit2039b36f908b20e7be8a60e903a2a26b21c65ace (patch)
tree512be6da9adc05e7b3b7c22adb75cb82101d9a58 /compiler/rustc_transmute
parentb8005bff3248cfc6e327faf4fa631ac49bb49ba9 (diff)
downloadrust-2039b36f908b20e7be8a60e903a2a26b21c65ace.tar.gz
rust-2039b36f908b20e7be8a60e903a2a26b21c65ace.zip
cleanup redundant pattern instances
Diffstat (limited to 'compiler/rustc_transmute')
-rw-r--r--compiler/rustc_transmute/src/layout/tree.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_transmute/src/layout/tree.rs b/compiler/rustc_transmute/src/layout/tree.rs
index a21be5dda4e..70ecc75403f 100644
--- a/compiler/rustc_transmute/src/layout/tree.rs
+++ b/compiler/rustc_transmute/src/layout/tree.rs
@@ -514,7 +514,7 @@ pub(crate) mod rustc {
                 }
             }
             ty::Tuple(fields) => fields[i.as_usize()],
-            kind @ _ => unimplemented!(
+            kind => unimplemented!(
                 "only a subset of `Ty::ty_and_layout_field`'s functionality is implemented. implementation needed for {:?}",
                 kind
             ),