Recover from default value for a lifetime in generic parameters.
This commit is contained in:
parent
3de7d7fb22
commit
d9f60052d2
5 changed files with 41 additions and 1 deletions
|
@ -1589,6 +1589,14 @@ pub(crate) struct UnexpectedSelfInGenericParameters {
|
|||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(parse_unexpected_default_value_for_lifetime_in_generic_parameters)]
|
||||
pub(crate) struct UnexpectedDefaultValueForLifetimeInGenericParameters {
|
||||
#[primary_span]
|
||||
#[label]
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(parse_multiple_where_clauses)]
|
||||
pub(crate) struct MultipleWhereClauses {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue