Rollup merge of #70541 - lcnr:patch-1, r=varkor

prohibit_generics: update has_err for consts

r? @eddyb
This commit is contained in:
Dylan DPC 2020-03-29 21:23:55 +02:00 committed by GitHub
commit 800ed0cd5d
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")
}
};