prohibit_generics: update has_err for consts
This commit is contained in:
parent
8ab82b87af
commit
8b762c5537
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue