File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
compiler/rustc_borrowck/src Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -251,6 +251,6 @@ impl OutlivesSuggestionBuilder {
251
251
diag. sort_span = mir_span. shrink_to_hi ( ) ;
252
252
253
253
// Buffer the diagnostic
254
- mbcx. buffer_non_error_diag ( diag) ;
254
+ mbcx. buffer_non_error ( diag) ;
255
255
}
256
256
}
Original file line number Diff line number Diff line change @@ -2435,7 +2435,7 @@ mod error {
2435
2435
self . buffered . push ( t. into_diagnostic ( ) ) ;
2436
2436
}
2437
2437
2438
- pub fn buffer_non_error_diag ( & mut self , t : DiagnosticBuilder < ' _ , ( ) > ) {
2438
+ pub fn buffer_non_error ( & mut self , t : DiagnosticBuilder < ' _ , ( ) > ) {
2439
2439
self . buffered . push ( t. into_diagnostic ( ) ) ;
2440
2440
}
2441
2441
@@ -2449,8 +2449,8 @@ mod error {
2449
2449
self . errors . buffer_error ( t) ;
2450
2450
}
2451
2451
2452
- pub fn buffer_non_error_diag ( & mut self , t : DiagnosticBuilder < ' _ , ( ) > ) {
2453
- self . errors . buffer_non_error_diag ( t) ;
2452
+ pub fn buffer_non_error ( & mut self , t : DiagnosticBuilder < ' _ , ( ) > ) {
2453
+ self . errors . buffer_non_error ( t) ;
2454
2454
}
2455
2455
2456
2456
pub fn buffer_move_error (
Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ pub(super) fn dump_annotation<'tcx>(
310
310
err. note ( format ! ( "Inferred opaque type values:\n {opaque_type_values:#?}" ) ) ;
311
311
}
312
312
313
- errors. buffer_non_error_diag ( err) ;
313
+ errors. buffer_non_error ( err) ;
314
314
}
315
315
316
316
fn for_each_region_constraint < ' tcx > (
You can’t perform that action at this time.
0 commit comments