Remove ..
from return type notation
This commit is contained in:
parent
2a198c7f62
commit
24cbf81b85
27 changed files with 126 additions and 109 deletions
|
@ -2324,3 +2324,11 @@ pub(crate) struct BadReturnTypeNotationOutput {
|
|||
#[suggestion(code = "", applicability = "maybe-incorrect")]
|
||||
pub span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(parse_bad_return_type_notation_dotdot)]
|
||||
pub(crate) struct BadReturnTypeNotationDotDot {
|
||||
#[primary_span]
|
||||
#[suggestion(code = "", applicability = "maybe-incorrect")]
|
||||
pub span: Span,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue