File tree 1 file changed +0
-32
lines changed
1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change 1
- error: Range::step_by(0) produces an infinite iterator. Consider using `std::iter::repeat()` instead
2
- --> range.rs:13:5
3
- |
4
- 13 | (0..1).step_by(0);
5
- | ^^^^^^^^^^^^^^^^^
6
- |
7
- = note: `-D range-step-by-zero` implied by `-D warnings`
8
-
9
1
error: use of deprecated item: replaced by `Iterator::step_by`
10
2
--> range.rs:13:12
11
3
|
@@ -22,14 +14,6 @@ error: use of deprecated item: replaced by `Iterator::step_by`
22
14
|
23
15
= note: `-D deprecated` implied by `-D warnings`
24
16
25
- error: Range::step_by(0) produces an infinite iterator. Consider using `std::iter::repeat()` instead
26
- --> range.rs:17:5
27
- |
28
- 17 | (1..).step_by(0);
29
- | ^^^^^^^^^^^^^^^^
30
- |
31
- = note: `-D range-step-by-zero` implied by `-D warnings`
32
-
33
17
error: use of deprecated item: replaced by `Iterator::step_by`
34
18
--> range.rs:17:11
35
19
|
@@ -38,14 +22,6 @@ error: use of deprecated item: replaced by `Iterator::step_by`
38
22
|
39
23
= note: `-D deprecated` implied by `-D warnings`
40
24
41
- error: Range::step_by(0) produces an infinite iterator. Consider using `std::iter::repeat()` instead
42
- --> range.rs:18:5
43
- |
44
- 18 | (1...2).step_by(0);
45
- | ^^^^^^^^^^^^^^^^^^
46
- |
47
- = note: `-D range-step-by-zero` implied by `-D warnings`
48
-
49
25
error: use of deprecated item: replaced by `Iterator::step_by`
50
26
--> range.rs:18:13
51
27
|
@@ -54,14 +30,6 @@ error: use of deprecated item: replaced by `Iterator::step_by`
54
30
|
55
31
= note: `-D deprecated` implied by `-D warnings`
56
32
57
- error: Range::step_by(0) produces an infinite iterator. Consider using `std::iter::repeat()` instead
58
- --> range.rs:21:5
59
- |
60
- 21 | x.step_by(0);
61
- | ^^^^^^^^^^^^
62
- |
63
- = note: `-D range-step-by-zero` implied by `-D warnings`
64
-
65
33
error: use of deprecated item: replaced by `Iterator::step_by`
66
34
--> range.rs:21:7
67
35
|
You can’t perform that action at this time.
0 commit comments