fix(useless_conversion): respect reduced applicability
This commit is contained in:
parent
331a474142
commit
f73e504eea
1 changed files with 1 additions and 1 deletions
|
|
@ -365,7 +365,7 @@ impl<'tcx> LateLintPass<'tcx> for UselessConversion {
|
|||
format!("useless conversion to the same type: `{b}`"),
|
||||
"consider removing `.into_iter()`",
|
||||
sugg,
|
||||
Applicability::MachineApplicable, // snippet
|
||||
applicability,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue