Skip to content

Commit

Permalink
prohibit_generics: update has_err for consts
Browse files Browse the repository at this point in the history
  • Loading branch information
lcnr authored Mar 29, 2020
1 parent 8ab82b8 commit 8b762c5
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 8b762c5

Please sign in to comment.