fix(useless_conversion): respect reduced applicability

This commit is contained in:
Ada Alakbarova 2026-01-09 20:20:35 +01:00
parent 331a474142
commit f73e504eea
No known key found for this signature in database

View file

@ -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,
);
}
}