mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
0f4c4c5e18
Signed-off-by: David Wood <david.wood@huawei.com>
7 lines
513 B
Plaintext
7 lines
513 B
Plaintext
lint-array-into-iter =
|
|
this method call resolves to `<&{$target} as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <{$target} as IntoIterator>::into_iter in Rust 2021
|
|
.use-iter-suggestion = use `.iter()` instead of `.into_iter()` to avoid ambiguity
|
|
.remove-into-iter-suggestion = or remove `.into_iter()` to iterate by value
|
|
.use-explicit-into-iter-suggestion =
|
|
or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
|