Skip to content

Commit 77d8722

Browse files
committed
rmeta: move opt_rpitit_info from defaulted to optional
1 parent 37adec2 commit 77d8722

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compiler/rustc_metadata/src/rmeta

‎compiler/rustc_metadata/src/rmeta/mod.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,6 @@ define_tables! {
604604
explicit_implied_clauses_of: Table<LazyArray<(ty::Clause<'static>, Span)>>,
605605
explicit_implied_const_bounds: Table<LazyArray<(ty::PolyTraitRef<'static>, Span)>>,
606606
inherent_impls: Table<LazyArray<LocalDefId>>,
607-
opt_rpitit_info: Table<Option<LazyValue<ty::ImplTraitInTraitData>>>,
608607
// Reexported names are not associated with individual `DefId`s,
609608
// e.g. a glob import can introduce a lot of names, all with the same `DefId`.
610609
// That's why the encoded list needs to contain `ModChild` structures describing all the names
@@ -619,6 +618,7 @@ define_tables! {
619618
impl_is_fully_generic_for_reflection: Table<bool>,
620619

621620
- optional:
621+
opt_rpitit_info: Table<LazyValue<ty::ImplTraitInTraitData>>,
622622
attributes: Table<LazyArray<Attribute>>,
623623
// For non-reexported names in a module every name is associated with a separate `DefId`,
624624
// so we can take their names, visibilities etc from other encoded tables.

0 commit comments

Comments
 (0)