about summary refs log tree commit diff
path: root/compiler/rustc_span/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-11-29 04:23:29 +0100
committerGitHub <noreply@github.com>2023-11-29 04:23:29 +0100
commit82eda5865a881e6b07ce81c9f4cd048e9585d92b (patch)
tree40b1062d418e2ee4735102b303003048fcd64abb /compiler/rustc_span/src
parentf8628a179dbadeeddf59b8d53cae20467f036404 (diff)
parent5c680e1bcb926f76add3f118d17af7f0366b5378 (diff)
downloadrust-82eda5865a881e6b07ce81c9f4cd048e9585d92b.tar.gz
rust-82eda5865a881e6b07ce81c9f4cd048e9585d92b.zip
Rollup merge of #118401 - nnethercote:rustc_ast_lowering, r=compiler-errors
`rustc_ast_lowering` cleanups

Just some cleanups I found while looking through this code.

r? `@spastorino`
Diffstat (limited to 'compiler/rustc_span/src')
-rw-r--r--compiler/rustc_span/src/def_id.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/def_id.rs b/compiler/rustc_span/src/def_id.rs
index 4b5bd75d5b1..b2d51ac6c0d 100644
--- a/compiler/rustc_span/src/def_id.rs
+++ b/compiler/rustc_span/src/def_id.rs
@@ -222,7 +222,6 @@ rustc_index::newtype_index! {
     }
 }
 
-// njn: I don't understand these
 impl<E: Encoder> Encodable<E> for DefIndex {
     default fn encode(&self, _: &mut E) {
         panic!("cannot encode `DefIndex` with `{}`", std::any::type_name::<E>());