Skip to content

Commit faf7bf6

Browse files
committed
Update ui tests
1 parent 16a958b commit faf7bf6

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

clippy_tests/examples/range.stderr

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
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-
91
error: use of deprecated item: replaced by `Iterator::step_by`
102
--> range.rs:13:12
113
|
@@ -22,14 +14,6 @@ error: use of deprecated item: replaced by `Iterator::step_by`
2214
|
2315
= note: `-D deprecated` implied by `-D warnings`
2416

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-
3317
error: use of deprecated item: replaced by `Iterator::step_by`
3418
--> range.rs:17:11
3519
|
@@ -38,14 +22,6 @@ error: use of deprecated item: replaced by `Iterator::step_by`
3822
|
3923
= note: `-D deprecated` implied by `-D warnings`
4024

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-
4925
error: use of deprecated item: replaced by `Iterator::step_by`
5026
--> range.rs:18:13
5127
|
@@ -54,14 +30,6 @@ error: use of deprecated item: replaced by `Iterator::step_by`
5430
|
5531
= note: `-D deprecated` implied by `-D warnings`
5632

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-
6533
error: use of deprecated item: replaced by `Iterator::step_by`
6634
--> range.rs:21:7
6735
|

0 commit comments

Comments
 (0)