@@ -217,7 +217,7 @@ pub enum TyKind<I: Interner> {
217
217
218
218
/// A placeholder for a type which could not be computed; this is
219
219
/// propagated to avoid useless error messages.
220
- Error ( I :: DelaySpanBugEmitted ) ,
220
+ Error ( I :: ErrorGuaranteed ) ,
221
221
}
222
222
223
223
impl < I : Interner > TyKind < I > {
@@ -626,7 +626,7 @@ impl<I: Interner> fmt::Debug for TyKind<I> {
626
626
// This is manually implemented because a derive would require `I: Encodable`
627
627
impl < I : Interner , E : TyEncoder > Encodable < E > for TyKind < I >
628
628
where
629
- I :: DelaySpanBugEmitted : Encodable < E > ,
629
+ I :: ErrorGuaranteed : Encodable < E > ,
630
630
I :: AdtDef : Encodable < E > ,
631
631
I :: SubstsRef : Encodable < E > ,
632
632
I :: DefId : Encodable < E > ,
@@ -645,7 +645,6 @@ where
645
645
I :: BoundTy : Encodable < E > ,
646
646
I :: PlaceholderType : Encodable < E > ,
647
647
I :: InferTy : Encodable < E > ,
648
- I :: DelaySpanBugEmitted : Encodable < E > ,
649
648
I :: PredicateKind : Encodable < E > ,
650
649
I :: AllocId : Encodable < E > ,
651
650
{
@@ -744,7 +743,7 @@ where
744
743
// This is manually implemented because a derive would require `I: Decodable`
745
744
impl < I : Interner , D : TyDecoder < I = I > > Decodable < D > for TyKind < I >
746
745
where
747
- I :: DelaySpanBugEmitted : Decodable < D > ,
746
+ I :: ErrorGuaranteed : Decodable < D > ,
748
747
I :: AdtDef : Decodable < D > ,
749
748
I :: SubstsRef : Decodable < D > ,
750
749
I :: DefId : Decodable < D > ,
@@ -763,7 +762,6 @@ where
763
762
I :: BoundTy : Decodable < D > ,
764
763
I :: PlaceholderType : Decodable < D > ,
765
764
I :: InferTy : Decodable < D > ,
766
- I :: DelaySpanBugEmitted : Decodable < D > ,
767
765
I :: PredicateKind : Decodable < D > ,
768
766
I :: AllocId : Decodable < D > ,
769
767
{
@@ -829,7 +827,7 @@ where
829
827
I :: ParamTy : HashStable < CTX > ,
830
828
I :: PlaceholderType : HashStable < CTX > ,
831
829
I :: InferTy : HashStable < CTX > ,
832
- I :: DelaySpanBugEmitted : HashStable < CTX > ,
830
+ I :: ErrorGuaranteed : HashStable < CTX > ,
833
831
{
834
832
#[ inline]
835
833
fn hash_stable (
0 commit comments