1
Fork 0

Handle generic parameters.

This commit is contained in:
Camille GILLOT 2022-09-06 17:37:00 +02:00 committed by Michael Goulet
parent cdf78073c5
commit 05812df603
25 changed files with 171 additions and 224 deletions

View file

@ -1500,9 +1500,6 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
hir::ItemKind::OpaqueTy(..) => {
self.encode_explicit_item_bounds(def_id);
}
hir::ItemKind::ImplTraitPlaceholder(..) => {
self.encode_explicit_item_bounds(def_id);
}
hir::ItemKind::Enum(..) => {
let adt_def = self.tcx.adt_def(def_id);
record!(self.tables.repr_options[def_id] <- adt_def.repr());