about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser/ty.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-11-06 10:10:52 +0000
committerbors <bors@rust-lang.org>2023-11-06 10:10:52 +0000
commit6bf2fb3679a990f9c54dfb10b11cd20af47b961e (patch)
tree70ee33b100a54590a6290c1b3dd824341b3fd642 /compiler/rustc_parse/src/parser/ty.rs
parentf9b644636f8c74d1d9a3283dc65a6a6f02a97718 (diff)
parentbee7b5889e5f3544d7a197c52c9ca5dbc929be97 (diff)
downloadrust-6bf2fb3679a990f9c54dfb10b11cd20af47b961e.tar.gz
rust-6bf2fb3679a990f9c54dfb10b11cd20af47b961e.zip
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.
Diffstat (limited to 'compiler/rustc_parse/src/parser/ty.rs')
0 files changed, 0 insertions, 0 deletions