fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
623 B16 linesraw
1warning: trait method `into_iter` will become ambiguous in Rust 2021
2  --> $DIR/array-into-iter-ambiguous.rs:24:13
3   |
4LL |     let y = points.into_iter();
5   |             ^^^^^^^^^^^^^^^^^^ help: disambiguate the associated function: `MyIntoIter::into_iter(points)`
6   |
7   = warning: this changes meaning in Rust 2021
8   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/IntoIterator-for-arrays.html>
9note: the lint level is defined here
10  --> $DIR/array-into-iter-ambiguous.rs:5:9
11   |
12LL | #![warn(array_into_iter)]
13   |         ^^^^^^^^^^^^^^^
14
15warning: 1 warning emitted
16