1 error: use of deprecated item: replaced by `Iterator::step_by`
4 14 | (0..1).step_by(0);
7 = note: `-D deprecated` implied by `-D warnings`
9 error: use of deprecated item: replaced by `Iterator::step_by`
12 16 | (0..1).step_by(1);
15 = note: `-D deprecated` implied by `-D warnings`
17 error: use of deprecated item: replaced by `Iterator::step_by`
20 18 | (1..).step_by(0);
23 = note: `-D deprecated` implied by `-D warnings`
25 error: use of deprecated item: replaced by `Iterator::step_by`
28 19 | (1...2).step_by(0);
31 = note: `-D deprecated` implied by `-D warnings`
33 error: use of deprecated item: replaced by `Iterator::step_by`
39 = note: `-D deprecated` implied by `-D warnings`
41 error: It is more idiomatic to use v1.iter().enumerate()
44 30 | let _x = v1.iter().zip(0..v1.len());
45 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
47 = note: `-D range-zip-with-len` implied by `-D warnings`
49 error: Iterator::step_by(0) will panic at runtime
52 34 | let _ = v1.iter().step_by(2/3);
53 | ^^^^^^^^^^^^^^^^^^^^^^
55 = note: `-D iterator-step-by-zero` implied by `-D warnings`
57 error: aborting due to previous error(s)
60 To learn more, run the command again with --verbose.