diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-05-01 16:28:40 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-05-04 13:11:52 +1000 |
| commit | 6b70be2a345fd09c17986d95b66cf5b22f96e7ed (patch) | |
| tree | e96b2e52c670f64593e0d1961ffd2a778bdcb6be /compiler/rustc_middle/src/ty | |
| parent | 58002faca0ac45589c6092030a5459eae9720e3d (diff) | |
| download | rust-6b70be2a345fd09c17986d95b66cf5b22f96e7ed.tar.gz rust-6b70be2a345fd09c17986d95b66cf5b22f96e7ed.zip | |
Remove unneeded encode/decode methods.
In #110927 the encode/decode methods for `i8`, `char`, `bool`, and `str` were made inherent. This commit removes some unnecessary implementations of these methods that were missed in that PR.
Diffstat (limited to 'compiler/rustc_middle/src/ty')
| -rw-r--r-- | compiler/rustc_middle/src/ty/codec.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_middle/src/ty/codec.rs b/compiler/rustc_middle/src/ty/codec.rs index b0e158a8f5d..7fc75674da5 100644 --- a/compiler/rustc_middle/src/ty/codec.rs +++ b/compiler/rustc_middle/src/ty/codec.rs @@ -518,11 +518,6 @@ macro_rules! implement_ty_decoder { read_i64 -> i64; read_i32 -> i32; read_i16 -> i16; - read_i8 -> i8; - - read_bool -> bool; - read_char -> char; - read_str -> &str; } #[inline] |
