array_into_iter does not trigger for existing trait impl #88475
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-edition-2021
Area: The 2021 edition
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
I tried this code:
This code will not emit the
array_into_iter
lint. When updating to the 2021 edition, the code fails to compile:I would expect the
array_into_iter
lint to give the appropriate suggestion.Found in the 2021 crater run for:
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: