Move associated type bounds check to ast lowering
This makes the check for when associated type bounds more accurate
This commit is contained in:
parent
b869e84e58
commit
e7c490892f
12 changed files with 171 additions and 139 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue