diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-06-04 18:32:00 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-06-03 17:02:14 +0000 |
| commit | 7381ea019c47282985baab8752d27aca0a432023 (patch) | |
| tree | 024faffc04f6c026f37e670f7cf7f26cf8b4c68c /compiler/rustc_query_impl/src | |
| parent | 22e8d5f80e58574a13f0623bef14015f424e8a7a (diff) | |
| download | rust-7381ea019c47282985baab8752d27aca0a432023.tar.gz rust-7381ea019c47282985baab8752d27aca0a432023.zip | |
Remove emit_unit
It doesn't do anything for all encoders
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/on_disk_cache.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/compiler/rustc_query_impl/src/on_disk_cache.rs b/compiler/rustc_query_impl/src/on_disk_cache.rs index 5a915933dc5..e93bf1a4752 100644 --- a/compiler/rustc_query_impl/src/on_disk_cache.rs +++ b/compiler/rustc_query_impl/src/on_disk_cache.rs @@ -993,11 +993,6 @@ where { type Error = E::Error; - #[inline] - fn emit_unit(&mut self) -> Result<(), Self::Error> { - Ok(()) - } - encoder_methods! { emit_usize(usize); emit_u128(u128); |
