1
Fork 0

Use a DepNode for the generator signature

This commit is contained in:
John Kåre Alsaker 2017-08-14 14:11:35 +02:00
parent eff2884e5f
commit b045c201b2
2 changed files with 2 additions and 1 deletions

View file

@ -432,6 +432,7 @@ define_dep_nodes!( <'tcx>
[] ImplPolarity(DefId), [] ImplPolarity(DefId),
[] ClosureKind(DefId), [] ClosureKind(DefId),
[] FnSignature(DefId), [] FnSignature(DefId),
[] GenSignature(DefId),
[] CoerceUnsizedInfo(DefId), [] CoerceUnsizedInfo(DefId),
[] ItemVarianceConstraints(DefId), [] ItemVarianceConstraints(DefId),

View file

@ -919,7 +919,7 @@ define_maps! { <'tcx>
/// Records the signature of each generator. The def ID is the ID of the /// Records the signature of each generator. The def ID is the ID of the
/// expression defining the closure. /// expression defining the closure.
[] generator_sig: TypeckTables(DefId) -> Option<ty::PolyGenSig<'tcx>>, [] generator_sig: GenSignature(DefId) -> Option<ty::PolyGenSig<'tcx>>,
/// Caches CoerceUnsized kinds for impls on custom types. /// Caches CoerceUnsized kinds for impls on custom types.
[] coerce_unsized_info: CoerceUnsizedInfo(DefId) [] coerce_unsized_info: CoerceUnsizedInfo(DefId)