prohibit_generics: update has_err for consts
This commit is contained in:
parent
8ab82b87af
commit
8b762c5537
@ -2440,6 +2440,7 @@ pub fn prohibit_generics<'a, T: IntoIterator<Item = &'a hir::PathSegment<'a>>>(
|
||||
continue;
|
||||
}
|
||||
err_for_ct = true;
|
||||
has_err = true;
|
||||
(ct.span, "const")
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user