summary refs log tree commit diff
path: root/src/librustc_lint/array_into_iter.rs
AgeCommit message (Collapse)AuthorLines
2019-11-06Add future incompatibility lint for `array.into_iter()`Lukas Kalbertodt-0/+91
As we might want to add `IntoIterator` impls for arrays in the future, and since that introduces a breaking change, this lint warns and suggests using `iter()` instead (which is shorter and more explicit).