mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-03 12:13:43 +00:00
Rollup merge of #70541 - lcnr:patch-1, r=varkor
prohibit_generics: update has_err for consts r? @eddyb
This commit is contained in:
commit
800ed0cd5d
@ -2440,6 +2440,7 @@ impl<'o, 'tcx> dyn AstConv<'tcx> + 'o {
|
||||
continue;
|
||||
}
|
||||
err_for_ct = true;
|
||||
has_err = true;
|
||||
(ct.span, "const")
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user