1
Fork 0

Move associated type bounds check to ast lowering

This makes the check for when associated type bounds more accurate
This commit is contained in:
Michael Goulet 2023-02-14 19:15:43 +00:00
parent b869e84e58
commit e7c490892f
12 changed files with 171 additions and 139 deletions

View file

@ -23,13 +23,6 @@ pub struct ForbiddenLetStable {
pub span: Span,
}
#[derive(Diagnostic)]
#[diag(ast_passes_forbidden_assoc_constraint)]
pub struct ForbiddenAssocConstraint {
#[primary_span]
pub span: Span,
}
#[derive(Diagnostic)]
#[diag(ast_passes_keyword_lifetime)]
pub struct KeywordLifetime {