Use a DepNode for the generator signature
This commit is contained in:
parent
eff2884e5f
commit
b045c201b2
2 changed files with 2 additions and 1 deletions
|
@ -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),
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue