fallback default
to None
during ast-loweing for lifetime binder
This commit is contained in:
parent
1ab783112a
commit
e16efbd23a
6 changed files with 69 additions and 2 deletions
|
@ -395,3 +395,10 @@ pub enum BadReturnTypeNotation {
|
|||
span: Span,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(ast_lowering_default_parameter_in_binder)]
|
||||
pub(crate) struct UnexpectedDefaultParameterInBinder {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue