Trim extra space in 'repeated mut
' diagnostic
This commit is contained in:
parent
c322cd5c5a
commit
c3c68c5cb1
4 changed files with 33 additions and 14 deletions
|
@ -2611,8 +2611,9 @@ pub(crate) enum InvalidMutInPattern {
|
|||
#[diag(parse_repeated_mut_in_pattern)]
|
||||
pub(crate) struct RepeatedMutInPattern {
|
||||
#[primary_span]
|
||||
#[suggestion(code = "", applicability = "machine-applicable", style = "verbose")]
|
||||
pub span: Span,
|
||||
#[suggestion(code = "", applicability = "machine-applicable", style = "verbose")]
|
||||
pub suggestion: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue