Skip to content

Commit

Permalink
Rollup merge of #70541 - lcnr:patch-1, r=varkor
Browse files Browse the repository at this point in the history
prohibit_generics: update has_err for consts

r? @eddyb
  • Loading branch information
Dylan-DPC authored Mar 29, 2020
2 parents 1bf4873 + 8b762c5 commit 800ed0c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/librustc_typeck/astconv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2440,6 +2440,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
continue;
}
err_for_ct = true;
has_err = true;
(ct.span, "const")
}
};
Expand Down

0 comments on commit 800ed0c

Please sign in to comment.