Skip to content

Commit 136cd10

Browse files
committed
add DynSized query variants to plumbing
1 parent 76c6636 commit 136cd10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustc/ty/maps/plumbing.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -724,6 +724,7 @@ pub fn force_from_dep_node<'a, 'gcx, 'lcx>(tcx: TyCtxt<'a, 'gcx, 'lcx>,
724724
// these
725725
DepKind::IsCopy |
726726
DepKind::IsSized |
727+
DepKind::IsDynSized |
727728
DepKind::IsFreeze |
728729
DepKind::NeedsDrop |
729730
DepKind::Layout |
@@ -790,6 +791,7 @@ pub fn force_from_dep_node<'a, 'gcx, 'lcx>(tcx: TyCtxt<'a, 'gcx, 'lcx>,
790791
DepKind::IsConstFn => { force!(is_const_fn, def_id!()); }
791792
DepKind::IsForeignItem => { force!(is_foreign_item, def_id!()); }
792793
DepKind::SizedConstraint => { force!(adt_sized_constraint, def_id!()); }
794+
DepKind::DynSizedConstraint => { force!(adt_dynsized_constraint, def_id!()); }
793795
DepKind::DtorckConstraint => { force!(adt_dtorck_constraint, def_id!()); }
794796
DepKind::AdtDestructor => { force!(adt_destructor, def_id!()); }
795797
DepKind::AssociatedItemDefIds => { force!(associated_item_def_ids, def_id!()); }

0 commit comments

Comments
 (0)