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> {
881
881
& item. vis ,
882
882
errors:: VisibilityNotPermittedNote :: TraitImpl ,
883
883
) ;
884
- // njn: use Dummy here
885
884
if let TyKind :: Err ( _) = self_ty. kind {
886
885
this. dcx ( ) . emit_err ( errors:: ObsoleteAuto { span : item. span } ) ;
887
886
}
Original file line number Diff line number Diff line change @@ -1276,7 +1276,6 @@ impl DiagCtxtInner {
1276
1276
fn emit_stashed_diagnostics ( & mut self ) {
1277
1277
let has_errors = !self . err_guars . is_empty ( ) ;
1278
1278
for ( _, diag) in std:: mem:: take ( & mut self . stashed_diagnostics ) . into_iter ( ) {
1279
- // Decrement the count tracking the stash; emitting will increment it.
1280
1279
if diag. is_error ( ) {
1281
1280
if diag. is_lint . is_none ( ) {
1282
1281
self . stashed_err_count -= 1 ;
You can’t perform that action at this time.
0 commit comments