prohibit_generics: update has_err for consts

This commit is contained in:
Bastian Kauschke 2020-03-29 18:34:42 +02:00 committed by GitHub
parent 8ab82b87af
commit 8b762c5537
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2440,6 +2440,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
continue;
}
err_for_ct = true;
has_err = true;
(ct.span, "const")
}
};