@@ -933,7 +933,7 @@ impl DiagCtxt {
933
933
self . inner . borrow ( ) . has_errors ( ) . then ( || {
934
934
// FIXME(nnethercote) find a way to store an `ErrorGuaranteed`.
935
935
#[ allow( deprecated) ]
936
- ErrorGuaranteed :: unchecked_claim_error_was_emitted ( )
936
+ ErrorGuaranteed :: unchecked_error_guaranteed ( )
937
937
} )
938
938
}
939
939
@@ -945,7 +945,7 @@ impl DiagCtxt {
945
945
result. then ( || {
946
946
// FIXME(nnethercote) find a way to store an `ErrorGuaranteed`.
947
947
#[ allow( deprecated) ]
948
- ErrorGuaranteed :: unchecked_claim_error_was_emitted ( )
948
+ ErrorGuaranteed :: unchecked_error_guaranteed ( )
949
949
} )
950
950
}
951
951
@@ -958,7 +958,7 @@ impl DiagCtxt {
958
958
result. then ( || {
959
959
// FIXME(nnethercote) find a way to store an `ErrorGuaranteed`.
960
960
#[ allow( deprecated) ]
961
- ErrorGuaranteed :: unchecked_claim_error_was_emitted ( )
961
+ ErrorGuaranteed :: unchecked_error_guaranteed ( )
962
962
} )
963
963
}
964
964
@@ -1286,7 +1286,7 @@ impl DiagCtxtInner {
1286
1286
let backtrace = std:: backtrace:: Backtrace :: capture ( ) ;
1287
1287
self . delayed_bugs . push ( DelayedDiagnostic :: with_backtrace ( diagnostic, backtrace) ) ;
1288
1288
#[ allow( deprecated) ]
1289
- return Some ( ErrorGuaranteed :: unchecked_claim_error_was_emitted ( ) ) ;
1289
+ return Some ( ErrorGuaranteed :: unchecked_error_guaranteed ( ) ) ;
1290
1290
}
1291
1291
GoodPathDelayedBug => {
1292
1292
let backtrace = std:: backtrace:: Backtrace :: capture ( ) ;
@@ -1369,7 +1369,7 @@ impl DiagCtxtInner {
1369
1369
1370
1370
#[ allow( deprecated) ]
1371
1371
if level == Level :: Error {
1372
- guaranteed = Some ( ErrorGuaranteed :: unchecked_claim_error_was_emitted ( ) ) ;
1372
+ guaranteed = Some ( ErrorGuaranteed :: unchecked_error_guaranteed ( ) ) ;
1373
1373
}
1374
1374
} ) ;
1375
1375
0 commit comments