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`
This commit is contained in:
commit
82eda5865a
8 changed files with 96 additions and 85 deletions
|
@ -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>());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue