diff options
| author | Jonathan Gruner <jogru0@gmail.com> | 2025-04-21 14:15:32 +0200 |
|---|---|---|
| committer | Jonathan Gruner <jogru0@gmail.com> | 2025-04-21 14:15:32 +0200 |
| commit | 2039b36f908b20e7be8a60e903a2a26b21c65ace (patch) | |
| tree | 512be6da9adc05e7b3b7c22adb75cb82101d9a58 /compiler/rustc_transmute | |
| parent | b8005bff3248cfc6e327faf4fa631ac49bb49ba9 (diff) | |
| download | rust-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.rs | 2 |
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 ), |
