fix: 7125 update lint applicability to Unspecified
This commit is contained in:
parent
447edf92b4
commit
c58d692e1f
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ pub(super) fn check<'tcx>(
|
|||
"for loop over a single range inside an array, rather than iterating over the elements in the range directly",
|
||||
"did you mean to iterate over the range instead?",
|
||||
sugg.to_string(),
|
||||
applicability,
|
||||
Applicability::Unspecified,
|
||||
);
|
||||
} else {
|
||||
span_lint_and_sugg(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue