File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -881,7 +881,6 @@ impl<'a> Visitor<'a> for AstValidator<'a> {
881881 & item. vis ,
882882 errors:: VisibilityNotPermittedNote :: TraitImpl ,
883883 ) ;
884- // njn: use Dummy here
885884 if let TyKind :: Err ( _) = self_ty. kind {
886885 this. dcx ( ) . emit_err ( errors:: ObsoleteAuto { span : item. span } ) ;
887886 }
Original file line number Diff line number Diff line change @@ -1276,7 +1276,6 @@ impl DiagCtxtInner {
12761276 fn emit_stashed_diagnostics ( & mut self ) {
12771277 let has_errors = !self . err_guars . is_empty ( ) ;
12781278 for ( _, diag) in std:: mem:: take ( & mut self . stashed_diagnostics ) . into_iter ( ) {
1279- // Decrement the count tracking the stash; emitting will increment it.
12801279 if diag. is_error ( ) {
12811280 if diag. is_lint . is_none ( ) {
12821281 self . stashed_err_count -= 1 ;
You can’t perform that action at this time.
0 commit comments