@@ -433,7 +433,7 @@ struct DiagCtxtInner {
433
433
/// lint error count.
434
434
lint_err_guars : Vec < ErrorGuaranteed > ,
435
435
/// The delayed bugs and their error guarantees.
436
- delayed_bugs : Vec < ( DelayedDiagnostic , ErrorGuaranteed ) > ,
436
+ delayed_bugs : Vec < ( DelayedDiagInner , ErrorGuaranteed ) > ,
437
437
438
438
/// The number of stashed errors. Unlike the other counts, this can go up
439
439
/// and down, so it doesn't guarantee anything.
@@ -1354,7 +1354,7 @@ impl DiagCtxtInner {
1354
1354
#[ allow( deprecated) ]
1355
1355
let guar = ErrorGuaranteed :: unchecked_error_guaranteed ( ) ;
1356
1356
self . delayed_bugs
1357
- . push ( ( DelayedDiagnostic :: with_backtrace ( diagnostic, backtrace) , guar) ) ;
1357
+ . push ( ( DelayedDiagInner :: with_backtrace ( diagnostic, backtrace) , guar) ) ;
1358
1358
Some ( guar)
1359
1359
} ;
1360
1360
}
@@ -1581,14 +1581,14 @@ impl DiagCtxtInner {
1581
1581
}
1582
1582
}
1583
1583
1584
- struct DelayedDiagnostic {
1584
+ struct DelayedDiagInner {
1585
1585
inner : DiagInner ,
1586
1586
note : Backtrace ,
1587
1587
}
1588
1588
1589
- impl DelayedDiagnostic {
1589
+ impl DelayedDiagInner {
1590
1590
fn with_backtrace ( diagnostic : DiagInner , backtrace : Backtrace ) -> Self {
1591
- DelayedDiagnostic { inner : diagnostic, note : backtrace }
1591
+ DelayedDiagInner { inner : diagnostic, note : backtrace }
1592
1592
}
1593
1593
1594
1594
fn decorate ( self , dcx : & DiagCtxtInner ) -> DiagInner {
0 commit comments