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 {
251251 diag. sort_span = mir_span. shrink_to_hi ( ) ;
252252
253253 // Buffer the diagnostic
254- mbcx. buffer_non_error_diag ( diag) ;
254+ mbcx. buffer_non_error ( diag) ;
255255 }
256256}
Original file line number Diff line number Diff line change @@ -2435,7 +2435,7 @@ mod error {
24352435 self . buffered . push ( t. into_diagnostic ( ) ) ;
24362436 }
24372437
2438- pub fn buffer_non_error_diag ( & mut self , t : DiagnosticBuilder < ' _ , ( ) > ) {
2438+ pub fn buffer_non_error ( & mut self , t : DiagnosticBuilder < ' _ , ( ) > ) {
24392439 self . buffered . push ( t. into_diagnostic ( ) ) ;
24402440 }
24412441
@@ -2449,8 +2449,8 @@ mod error {
24492449 self . errors . buffer_error ( t) ;
24502450 }
24512451
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) ;
24542454 }
24552455
24562456 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>(
310310 err. note ( format ! ( "Inferred opaque type values:\n {opaque_type_values:#?}" ) ) ;
311311 }
312312
313- errors. buffer_non_error_diag ( err) ;
313+ errors. buffer_non_error ( err) ;
314314}
315315
316316fn for_each_region_constraint < ' tcx > (
You can’t perform that action at this time.
0 commit comments