Only give autofix suggestion when no named args are present
This commit is contained in:
parent
38b0182832
commit
c8ee7db6ea
6 changed files with 44 additions and 6 deletions
|
@ -657,7 +657,7 @@ pub(crate) struct FormatRedundantArgs {
|
|||
pub(crate) note: MultiSpan,
|
||||
|
||||
#[subdiagnostic]
|
||||
pub(crate) sugg: FormatRedundantArgsSugg,
|
||||
pub(crate) sugg: Option<FormatRedundantArgsSugg>,
|
||||
}
|
||||
|
||||
#[derive(Subdiagnostic)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue