Skip to content

Commit e83be65

Browse files
committed
Update stderr files for change in error reporting
rustc now (rust-lang/rust#33525) does not report an error count anymore, because it was not correct in many cases.
1 parent e72c70d commit e83be65

File tree

128 files changed

+128
-128
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

128 files changed

+128
-128
lines changed

clippy_tests/examples/absurd-extreme-comparisons.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ error: <-comparison of unit values detected. This will always be false
159159
|
160160
= note: `-D unit-cmp` implied by `-D warnings`
161161

162-
error: aborting due to 18 previous errors
162+
error: aborting due to previous error(s)
163163

164164
error: Could not compile `clippy_tests`.
165165

clippy_tests/examples/approx_const.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ error: approximate value of `f{32, 64}::consts::SQRT_2` found. Consider using it
150150
|
151151
= note: `-D approx-constant` implied by `-D warnings`
152152

153-
error: aborting due to 19 previous errors
153+
error: aborting due to previous error(s)
154154

155155
error: Could not compile `clippy_tests`.
156156

clippy_tests/examples/arithmetic.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ error: floating-point arithmetic detected
8787
|
8888
= note: `-D float-arithmetic` implied by `-D warnings`
8989

90-
error: aborting due to 11 previous errors
90+
error: aborting due to previous error(s)
9191

9292
error: Could not compile `clippy_tests`.
9393

clippy_tests/examples/array_indexing.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ error: range is out of bounds
150150
|
151151
= note: `-D out-of-bounds-indexing` implied by `-D warnings`
152152

153-
error: aborting due to 19 previous errors
153+
error: aborting due to previous error(s)
154154

155155
error: Could not compile `clippy_tests`.
156156

clippy_tests/examples/assign_ops.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ error: manual implementation of an assign operation
166166
|
167167
= note: `-D assign-op-pattern` implied by `-D warnings`
168168

169-
error: aborting due to 21 previous errors
169+
error: aborting due to previous error(s)
170170

171171
error: Could not compile `clippy_tests`.
172172

clippy_tests/examples/assign_ops2.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ error: variable appears on both sides of an assignment operation
6262
|
6363
= note: `-D misrefactored-assign-op` implied by `-D warnings`
6464

65-
error: aborting due to 8 previous errors
65+
error: aborting due to previous error(s)
6666

6767
error: Could not compile `clippy_tests`.
6868

clippy_tests/examples/attrs.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ error: the since field must contain a semver-compliant version
2222
|
2323
= note: `-D deprecated-semver` implied by `-D warnings`
2424

25-
error: aborting due to 3 previous errors
25+
error: aborting due to previous error(s)
2626

2727
error: Could not compile `clippy_tests`.
2828

clippy_tests/examples/bit_masks.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ error: ineffective bit mask: `x | 1` compared to `8`, is the same as x compared
118118
|
119119
= note: `-D ineffective-bit-mask` implied by `-D warnings`
120120

121-
error: aborting due to 15 previous errors
121+
error: aborting due to previous error(s)
122122

123123
error: Could not compile `clippy_tests`.
124124

clippy_tests/examples/blacklisted_name.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ error: use of a blacklisted/placeholder name `baz`
110110
|
111111
= note: `-D blacklisted-name` implied by `-D warnings`
112112

113-
error: aborting due to 14 previous errors
113+
error: aborting due to previous error(s)
114114

115115
error: Could not compile `clippy_tests`.
116116

clippy_tests/examples/block_in_if_condition.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ error: this boolean expression can be simplified
5454
|
5555
= note: `-D nonminimal-bool` implied by `-D warnings`
5656

57-
error: aborting due to 5 previous errors
57+
error: aborting due to previous error(s)
5858

5959
error: Could not compile `clippy_tests`.
6060

clippy_tests/examples/bool_comparison.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ error: equality checks against false can be replaced by a negation
3030
|
3131
= note: `-D bool-comparison` implied by `-D warnings`
3232

33-
error: aborting due to 4 previous errors
33+
error: aborting due to previous error(s)
3434

3535
error: Could not compile `clippy_tests`.
3636

clippy_tests/examples/booleans.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ help: try
136136
| let _ = c != d || a != b;
137137
| let _ = !(a == b && c == d);
138138

139-
error: aborting due to 13 previous errors
139+
error: aborting due to previous error(s)
140140

141141
error: Could not compile `clippy_tests`.
142142

clippy_tests/examples/box_vec.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ error: you seem to be trying to use `Box<Vec<T>>`. Consider using just `Vec<T>`
77
= note: `-D box-vec` implied by `-D warnings`
88
= help: `Vec<T>` is already on the heap, `Box<Vec<T>>` makes an extra allocation.
99

10-
error: aborting due to previous error
10+
error: aborting due to previous error(s)
1111

1212
error: Could not compile `clippy_tests`.
1313

clippy_tests/examples/cast.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ error: casting to the same type is unnecessary (`bool` -> `bool`)
358358
|
359359
= note: `-D unnecessary-cast` implied by `-D warnings`
360360

361-
error: aborting due to 45 previous errors
361+
error: aborting due to previous error(s)
362362

363363
error: Could not compile `clippy_tests`.
364364

clippy_tests/examples/char_lit_as_u8.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ error: casting character literal to u8. `char`s are 4 bytes wide in rust, so cas
88
= help: Consider using a byte literal instead:
99
b'a'
1010

11-
error: aborting due to previous error
11+
error: aborting due to previous error(s)
1212

1313
error: Could not compile `clippy_tests`.
1414

clippy_tests/examples/cmp_nan.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
9494
|
9595
= note: `-D cmp-nan` implied by `-D warnings`
9696

97-
error: aborting due to 12 previous errors
97+
error: aborting due to previous error(s)
9898

9999
error: Could not compile `clippy_tests`.
100100

clippy_tests/examples/cmp_null.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ error: Comparing with null is better expressed by the .is_null() method
1414
|
1515
= note: `-D cmp-null` implied by `-D warnings`
1616

17-
error: aborting due to 2 previous errors
17+
error: aborting due to previous error(s)
1818

1919
error: Could not compile `clippy_tests`.
2020

clippy_tests/examples/cmp_owned.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ error: this creates an owned instance just for comparison
4646
|
4747
= note: `-D cmp-owned` implied by `-D warnings`
4848

49-
error: aborting due to 6 previous errors
49+
error: aborting due to previous error(s)
5050

5151
error: Could not compile `clippy_tests`.
5252

clippy_tests/examples/collapsible_if.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ help: try
238238
| println!("!")
239239
| }
240240

241-
error: aborting due to 13 previous errors
241+
error: aborting due to previous error(s)
242242

243243
error: Could not compile `clippy_tests`.
244244

clippy_tests/examples/complex_types.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ error: very complex type used. Consider factoring parts into `type` definitions
118118
|
119119
= note: `-D type-complexity` implied by `-D warnings`
120120

121-
error: aborting due to 15 previous errors
121+
error: aborting due to previous error(s)
122122

123123
error: Could not compile `clippy_tests`.
124124

clippy_tests/examples/copies.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ error: This else block is redundant.
3434
}
3535

3636

37-
error: aborting due to 2 previous errors
37+
error: aborting due to previous error(s)
3838

3939
error: Could not compile `clippy_tests`.
4040

clippy_tests/examples/cyclomatic_complexity.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ error: the function has a cyclomatic complexity of 8
288288
= note: `-D cyclomatic-complexity` implied by `-D warnings`
289289
= help: you could split it up into multiple smaller functions
290290

291-
error: aborting due to 20 previous errors
291+
error: aborting due to previous error(s)
292292

293293
error: Could not compile `clippy_tests`.
294294

clippy_tests/examples/cyclomatic_complexity_attr_used.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ error: the function has a cyclomatic complexity of 3
1313
= note: `-D cyclomatic-complexity` implied by `-D warnings`
1414
= help: you could split it up into multiple smaller functions
1515

16-
error: aborting due to previous error
16+
error: aborting due to previous error(s)
1717

1818
error: Could not compile `clippy_tests`.
1919

clippy_tests/examples/derive.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ note: consider deriving `Clone` or removing `Copy`
7777
67 | | }
7878
| |_^
7979

80-
error: aborting due to 5 previous errors
80+
error: aborting due to previous error(s)
8181

8282
error: Could not compile `clippy_tests`.
8383

clippy_tests/examples/diverging_sub_expression.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ error: sub-expression diverges
4646
|
4747
= note: `-D diverging-sub-expression` implied by `-D warnings`
4848

49-
error: aborting due to 6 previous errors
49+
error: aborting due to previous error(s)
5050

5151
error: Could not compile `clippy_tests`.
5252

clippy_tests/examples/dlist.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ error: I see you're using a LinkedList! Perhaps you meant some other data struct
5252
= note: `-D linkedlist` implied by `-D warnings`
5353
= help: a VecDeque might work
5454

55-
error: aborting due to 6 previous errors
55+
error: aborting due to previous error(s)
5656

5757
error: Could not compile `clippy_tests`.
5858

clippy_tests/examples/doc.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the doc
230230
|
231231
= note: `-D doc-markdown` implied by `-D warnings`
232232

233-
error: aborting due to 29 previous errors
233+
error: aborting due to previous error(s)
234234

235235
error: Could not compile `clippy_tests`.
236236

clippy_tests/examples/double_neg.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ error: `--x` could be misinterpreted as pre-decrement by C programmers, is usual
66
|
77
= note: `-D double-neg` implied by `-D warnings`
88

9-
error: aborting due to previous error
9+
error: aborting due to previous error(s)
1010

1111
error: Could not compile `clippy_tests`.
1212

clippy_tests/examples/double_parens.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ error: Consider removing unnecessary double parentheses
3838
|
3939
= note: `-D double-parens` implied by `-D warnings`
4040

41-
error: aborting due to 5 previous errors
41+
error: aborting due to previous error(s)
4242

4343
error: Could not compile `clippy_tests`.
4444

clippy_tests/examples/drop_forget_copy.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ note: argument has type SomeStruct
7676
42 | forget(s4);
7777
| ^^
7878

79-
error: aborting due to 6 previous errors
79+
error: aborting due to previous error(s)
8080

8181
error: Could not compile `clippy_tests`.
8282

clippy_tests/examples/drop_forget_ref.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ note: argument has type &SomeStruct
232232
59 | std::mem::forget(&SomeStruct);
233233
| ^^^^^^^^^^^
234234

235-
error: aborting due to 18 previous errors
235+
error: aborting due to previous error(s)
236236

237237
error: Could not compile `clippy_tests`.
238238

clippy_tests/examples/duplicate_underscore_argument.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ error: `darth` already exists, having another argument having almost the same na
66
|
77
= note: `-D duplicate-underscore-argument` implied by `-D warnings`
88

9-
error: aborting due to previous error
9+
error: aborting due to previous error(s)
1010

1111
error: Could not compile `clippy_tests`.
1212

clippy_tests/examples/empty_enum.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ help: consider using the uninhabited type `!` or a wrapper around it
1111
7 | enum Empty {}
1212
| ^^^^^^^^^^^^^
1313

14-
error: aborting due to previous error
14+
error: aborting due to previous error(s)
1515

1616
error: Could not compile `clippy_tests`.
1717

clippy_tests/examples/entry.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ error: usage of `contains_key` followed by `insert` on a `BTreeMap`
5454
|
5555
= note: `-D map-entry` implied by `-D warnings`
5656

57-
error: aborting due to 7 previous errors
57+
error: aborting due to previous error(s)
5858

5959
error: Could not compile `clippy_tests`.
6060

clippy_tests/examples/enum_glob_use.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ error: don't use glob imports for enum variants
1414
|
1515
= note: `-D enum-glob-use` implied by `-D warnings`
1616

17-
error: aborting due to 2 previous errors
17+
error: aborting due to previous error(s)
1818

1919
error: Could not compile `clippy_tests`.
2020

clippy_tests/examples/enum_variants.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ error: All variants have the same prefix: `With`
108108
= note: `-D pub-enum-variant-names` implied by `-D warnings`
109109
= help: remove the prefixes and use full paths to the variants instead of glob imports
110110

111-
error: aborting due to 10 previous errors
111+
error: aborting due to previous error(s)
112112

113113
error: Could not compile `clippy_tests`.
114114

clippy_tests/examples/enums_clike.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ error: Clike enum variant discriminant is not portable to 32-bit targets
6262
|
6363
= note: `-D enum-clike-unportable-variant` implied by `-D warnings`
6464

65-
error: aborting due to 8 previous errors
65+
error: aborting due to previous error(s)
6666

6767
error: Could not compile `clippy_tests`.
6868

clippy_tests/examples/eq_op.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ error: taken reference of right operand
264264
|
265265
= note: `-D op-ref` implied by `-D warnings`
266266

267-
error: aborting due to 33 previous errors
267+
error: aborting due to previous error(s)
268268

269269
error: Could not compile `clippy_tests`.
270270

clippy_tests/examples/eta.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ error: redundant closure found
3838
|
3939
= note: `-D redundant-closure` implied by `-D warnings`
4040

41-
error: aborting due to 5 previous errors
41+
error: aborting due to previous error(s)
4242

4343
error: Could not compile `clippy_tests`.
4444

clippy_tests/examples/eval_order_dependence.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ note: whether read occurs before this write depends on evaluation order
5050
21 | x += { x = 20; 2 };
5151
| ^^^^^^
5252

53-
error: aborting due to 4 previous errors
53+
error: aborting due to previous error(s)
5454

5555
error: Could not compile `clippy_tests`.
5656

clippy_tests/examples/filter_methods.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ error: called `filter_map(p).map(q)` on an `Iterator`. This is more succinctly e
4242
|
4343
= note: `-D filter-map` implied by `-D warnings`
4444

45-
error: aborting due to 4 previous errors
45+
error: aborting due to previous error(s)
4646

4747
error: Could not compile `clippy_tests`.
4848

clippy_tests/examples/float_cmp.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ note: std::f32::EPSILON and std::f64::EPSILON are available.
102102
57 | twice(x) != twice(ONE as f64);
103103
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
104104

105-
error: aborting due to 8 previous errors
105+
error: aborting due to previous error(s)
106106

107107
error: Could not compile `clippy_tests`.
108108

clippy_tests/examples/for_loop.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ error: you seem to want to iterate on a map's keys
493493
help: use the corresponding method
494494
| for k in rm.keys() {
495495

496-
error: aborting due to 49 previous errors
496+
error: aborting due to previous error(s)
497497

498498
error: Could not compile `clippy_tests`.
499499

clippy_tests/examples/format.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ error: useless use of `format!`
2222
|
2323
= note: `-D useless-format` implied by `-D warnings`
2424

25-
error: aborting due to 3 previous errors
25+
error: aborting due to previous error(s)
2626

2727
error: Could not compile `clippy_tests`.
2828

0 commit comments

Comments
 (0)