You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably we want some kind of "well-formed decls" check analogous to well-formed-mir? It could also check that e.g. all TraitId are defined somewhere (which current results in assertion failures).
Rust prohibits type parameters in a trait impl that don't appear in the trait definition:
and unconstrained lifetime parameters that appear in a trait value
We need to extend the rules to cover these. Careful, though, some uses of a generic parameter don't count as constrained:
The text was updated successfully, but these errors were encountered: