1 error: Range::step_by(0) produces an infinite iterator. Consider using `std::iter::repeat()` instead
4 13 | (0..1).step_by(0);
7 = note: `-D range-step-by-zero` implied by `-D warnings`
9 error: use of deprecated item: replaced by `Iterator::step_by`
12 13 | (0..1).step_by(0);
15 = note: `-D deprecated` implied by `-D warnings`
17 error: use of deprecated item: replaced by `Iterator::step_by`
20 15 | (0..1).step_by(1);
23 = note: `-D deprecated` implied by `-D warnings`
25 error: Range::step_by(0) produces an infinite iterator. Consider using `std::iter::repeat()` instead
28 17 | (1..).step_by(0);
31 = note: `-D range-step-by-zero` implied by `-D warnings`
33 error: use of deprecated item: replaced by `Iterator::step_by`
36 17 | (1..).step_by(0);
39 = note: `-D deprecated` implied by `-D warnings`
41 error: Range::step_by(0) produces an infinite iterator. Consider using `std::iter::repeat()` instead
44 18 | (1...2).step_by(0);
47 = note: `-D range-step-by-zero` implied by `-D warnings`
49 error: use of deprecated item: replaced by `Iterator::step_by`
52 18 | (1...2).step_by(0);
55 = note: `-D deprecated` implied by `-D warnings`
57 error: Range::step_by(0) produces an infinite iterator. Consider using `std::iter::repeat()` instead
63 = note: `-D range-step-by-zero` implied by `-D warnings`
65 error: use of deprecated item: replaced by `Iterator::step_by`
71 = note: `-D deprecated` implied by `-D warnings`
73 error: It is more idiomatic to use v1.iter().enumerate()
76 29 | let _x = v1.iter().zip(0..v1.len());
77 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
79 = note: `-D range-zip-with-len` implied by `-D warnings`
81 error: aborting due to previous error(s)
83 error: Could not compile `clippy_tests`.
85 To learn more, run the command again with --verbose.