rust/compiler
bors 6bf2fb3679 Auto merge of #117578 - compiler-errors:derive-encode-in-rustc_type_ir, r=davidtwco
Derive `TyEncodable`/`TyDecodable` in `rustc_type_ir`

when `derive(TyEncodable)` or `derive(TyDecodable)` sees an `I` type parameter on a struct that has no `'tcx`, then parameterize the `TyEncoder`/`TyDecoder`'s interner over that variable rather than `TyCtxt<'tcx>`.

Also, emit where clauses for fields rather than generics.
2023-11-06 10:10:52 +00:00
..
2023-10-30 08:46:02 +11:00
2023-10-31 23:26:02 +00:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
2023-10-30 08:46:02 +11:00
fmt
2023-11-04 20:04:02 +01:00
2023-11-02 18:16:37 +01:00