diff --git a/clippy_tests/examples/absurd-extreme-comparisons.stderr b/clippy_tests/examples/absurd-extreme-comparisons.stderr index d52c9b2a04e6..678f3ee9adb3 100644 --- a/clippy_tests/examples/absurd-extreme-comparisons.stderr +++ b/clippy_tests/examples/absurd-extreme-comparisons.stderr @@ -159,7 +159,7 @@ error: <-comparison of unit values detected. This will always be false | = note: `-D unit-cmp` implied by `-D warnings` -error: aborting due to 18 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/approx_const.stderr b/clippy_tests/examples/approx_const.stderr index a33b35197bce..8ba381289593 100644 --- a/clippy_tests/examples/approx_const.stderr +++ b/clippy_tests/examples/approx_const.stderr @@ -150,7 +150,7 @@ error: approximate value of `f{32, 64}::consts::SQRT_2` found. Consider using it | = note: `-D approx-constant` implied by `-D warnings` -error: aborting due to 19 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/arithmetic.stderr b/clippy_tests/examples/arithmetic.stderr index f0320672474e..21b49c1dd14b 100644 --- a/clippy_tests/examples/arithmetic.stderr +++ b/clippy_tests/examples/arithmetic.stderr @@ -87,7 +87,7 @@ error: floating-point arithmetic detected | = note: `-D float-arithmetic` implied by `-D warnings` -error: aborting due to 11 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/array_indexing.stderr b/clippy_tests/examples/array_indexing.stderr index 151ae299503a..d2106d5f3a73 100644 --- a/clippy_tests/examples/array_indexing.stderr +++ b/clippy_tests/examples/array_indexing.stderr @@ -150,7 +150,7 @@ error: range is out of bounds | = note: `-D out-of-bounds-indexing` implied by `-D warnings` -error: aborting due to 19 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/assign_ops.stderr b/clippy_tests/examples/assign_ops.stderr index f3a7854ceee0..0c7d2b3b4931 100644 --- a/clippy_tests/examples/assign_ops.stderr +++ b/clippy_tests/examples/assign_ops.stderr @@ -166,7 +166,7 @@ error: manual implementation of an assign operation | = note: `-D assign-op-pattern` implied by `-D warnings` -error: aborting due to 21 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/assign_ops2.stderr b/clippy_tests/examples/assign_ops2.stderr index 4c1c442e7d21..b5a6ca9233d5 100644 --- a/clippy_tests/examples/assign_ops2.stderr +++ b/clippy_tests/examples/assign_ops2.stderr @@ -62,7 +62,7 @@ error: variable appears on both sides of an assignment operation | = note: `-D misrefactored-assign-op` implied by `-D warnings` -error: aborting due to 8 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/attrs.stderr b/clippy_tests/examples/attrs.stderr index 20766bd32d18..d44f1e873928 100644 --- a/clippy_tests/examples/attrs.stderr +++ b/clippy_tests/examples/attrs.stderr @@ -22,7 +22,7 @@ error: the since field must contain a semver-compliant version | = note: `-D deprecated-semver` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/bit_masks.stderr b/clippy_tests/examples/bit_masks.stderr index c463946a3659..cb794d5c98b8 100644 --- a/clippy_tests/examples/bit_masks.stderr +++ b/clippy_tests/examples/bit_masks.stderr @@ -118,7 +118,7 @@ error: ineffective bit mask: `x | 1` compared to `8`, is the same as x compared | = note: `-D ineffective-bit-mask` implied by `-D warnings` -error: aborting due to 15 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/blacklisted_name.stderr b/clippy_tests/examples/blacklisted_name.stderr index 4e0333879d7d..61689d3b16d0 100644 --- a/clippy_tests/examples/blacklisted_name.stderr +++ b/clippy_tests/examples/blacklisted_name.stderr @@ -110,7 +110,7 @@ error: use of a blacklisted/placeholder name `baz` | = note: `-D blacklisted-name` implied by `-D warnings` -error: aborting due to 14 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/block_in_if_condition.stderr b/clippy_tests/examples/block_in_if_condition.stderr index 5d598354fd09..18d5843fe3f9 100644 --- a/clippy_tests/examples/block_in_if_condition.stderr +++ b/clippy_tests/examples/block_in_if_condition.stderr @@ -54,7 +54,7 @@ error: this boolean expression can be simplified | = note: `-D nonminimal-bool` implied by `-D warnings` -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/bool_comparison.stderr b/clippy_tests/examples/bool_comparison.stderr index c417b44113b0..eabd3f9d1d0f 100644 --- a/clippy_tests/examples/bool_comparison.stderr +++ b/clippy_tests/examples/bool_comparison.stderr @@ -30,7 +30,7 @@ error: equality checks against false can be replaced by a negation | = note: `-D bool-comparison` implied by `-D warnings` -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/booleans.stderr b/clippy_tests/examples/booleans.stderr index 4035ea6373ff..31466ba87889 100644 --- a/clippy_tests/examples/booleans.stderr +++ b/clippy_tests/examples/booleans.stderr @@ -136,7 +136,7 @@ help: try | let _ = c != d || a != b; | let _ = !(a == b && c == d); -error: aborting due to 13 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/box_vec.stderr b/clippy_tests/examples/box_vec.stderr index 73ddba686c34..413215acb155 100644 --- a/clippy_tests/examples/box_vec.stderr +++ b/clippy_tests/examples/box_vec.stderr @@ -7,7 +7,7 @@ error: you seem to be trying to use `Box>`. Consider using just `Vec` = note: `-D box-vec` implied by `-D warnings` = help: `Vec` is already on the heap, `Box>` makes an extra allocation. -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/cast.stderr b/clippy_tests/examples/cast.stderr index 7b9b81852f1c..a7912e0c1785 100644 --- a/clippy_tests/examples/cast.stderr +++ b/clippy_tests/examples/cast.stderr @@ -358,7 +358,7 @@ error: casting to the same type is unnecessary (`bool` -> `bool`) | = note: `-D unnecessary-cast` implied by `-D warnings` -error: aborting due to 45 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/char_lit_as_u8.stderr b/clippy_tests/examples/char_lit_as_u8.stderr index 07d09825b536..9560ab924c65 100644 --- a/clippy_tests/examples/char_lit_as_u8.stderr +++ b/clippy_tests/examples/char_lit_as_u8.stderr @@ -8,7 +8,7 @@ error: casting character literal to u8. `char`s are 4 bytes wide in rust, so cas = help: Consider using a byte literal instead: b'a' -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/cmp_nan.stderr b/clippy_tests/examples/cmp_nan.stderr index d20a727cc34b..745e44f6d0c7 100644 --- a/clippy_tests/examples/cmp_nan.stderr +++ b/clippy_tests/examples/cmp_nan.stderr @@ -94,7 +94,7 @@ error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead | = note: `-D cmp-nan` implied by `-D warnings` -error: aborting due to 12 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/cmp_null.stderr b/clippy_tests/examples/cmp_null.stderr index 903ee261e531..a20051adeb83 100644 --- a/clippy_tests/examples/cmp_null.stderr +++ b/clippy_tests/examples/cmp_null.stderr @@ -14,7 +14,7 @@ error: Comparing with null is better expressed by the .is_null() method | = note: `-D cmp-null` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/cmp_owned.stderr b/clippy_tests/examples/cmp_owned.stderr index 738f890d4b6e..327134c12894 100644 --- a/clippy_tests/examples/cmp_owned.stderr +++ b/clippy_tests/examples/cmp_owned.stderr @@ -46,7 +46,7 @@ error: this creates an owned instance just for comparison | = note: `-D cmp-owned` implied by `-D warnings` -error: aborting due to 6 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/collapsible_if.stderr b/clippy_tests/examples/collapsible_if.stderr index df38b9d1acc5..b90ab825db75 100644 --- a/clippy_tests/examples/collapsible_if.stderr +++ b/clippy_tests/examples/collapsible_if.stderr @@ -238,7 +238,7 @@ help: try | println!("!") | } -error: aborting due to 13 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/complex_types.stderr b/clippy_tests/examples/complex_types.stderr index bb77b1f21aab..ea64a33cbaba 100644 --- a/clippy_tests/examples/complex_types.stderr +++ b/clippy_tests/examples/complex_types.stderr @@ -118,7 +118,7 @@ error: very complex type used. Consider factoring parts into `type` definitions | = note: `-D type-complexity` implied by `-D warnings` -error: aborting due to 15 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/copies.stderr b/clippy_tests/examples/copies.stderr index 69f60a772519..ef2d3e15d2d8 100644 --- a/clippy_tests/examples/copies.stderr +++ b/clippy_tests/examples/copies.stderr @@ -34,7 +34,7 @@ error: This else block is redundant. } -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/cyclomatic_complexity.stderr b/clippy_tests/examples/cyclomatic_complexity.stderr index 53eb7b0a2c84..f0344d692a4b 100644 --- a/clippy_tests/examples/cyclomatic_complexity.stderr +++ b/clippy_tests/examples/cyclomatic_complexity.stderr @@ -288,7 +288,7 @@ error: the function has a cyclomatic complexity of 8 = note: `-D cyclomatic-complexity` implied by `-D warnings` = help: you could split it up into multiple smaller functions -error: aborting due to 20 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/cyclomatic_complexity_attr_used.stderr b/clippy_tests/examples/cyclomatic_complexity_attr_used.stderr index b0650fbd92a3..7a8f655207dd 100644 --- a/clippy_tests/examples/cyclomatic_complexity_attr_used.stderr +++ b/clippy_tests/examples/cyclomatic_complexity_attr_used.stderr @@ -13,7 +13,7 @@ error: the function has a cyclomatic complexity of 3 = note: `-D cyclomatic-complexity` implied by `-D warnings` = help: you could split it up into multiple smaller functions -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/derive.stderr b/clippy_tests/examples/derive.stderr index 8c799343b2b8..af3ee3c042b0 100644 --- a/clippy_tests/examples/derive.stderr +++ b/clippy_tests/examples/derive.stderr @@ -77,7 +77,7 @@ note: consider deriving `Clone` or removing `Copy` 67 | | } | |_^ -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/diverging_sub_expression.stderr b/clippy_tests/examples/diverging_sub_expression.stderr index d957d365e8bf..a9ac44435565 100644 --- a/clippy_tests/examples/diverging_sub_expression.stderr +++ b/clippy_tests/examples/diverging_sub_expression.stderr @@ -46,7 +46,7 @@ error: sub-expression diverges | = note: `-D diverging-sub-expression` implied by `-D warnings` -error: aborting due to 6 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/dlist.stderr b/clippy_tests/examples/dlist.stderr index 0da1d607dab3..cfb2788866df 100644 --- a/clippy_tests/examples/dlist.stderr +++ b/clippy_tests/examples/dlist.stderr @@ -52,7 +52,7 @@ error: I see you're using a LinkedList! Perhaps you meant some other data struct = note: `-D linkedlist` implied by `-D warnings` = help: a VecDeque might work -error: aborting due to 6 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/doc.stderr b/clippy_tests/examples/doc.stderr index 92cce6ee4591..669c0946b56a 100644 --- a/clippy_tests/examples/doc.stderr +++ b/clippy_tests/examples/doc.stderr @@ -230,7 +230,7 @@ error: you should put `be_sure_we_got_to_the_end_of_it` between ticks in the doc | = note: `-D doc-markdown` implied by `-D warnings` -error: aborting due to 29 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/double_neg.stderr b/clippy_tests/examples/double_neg.stderr index fe0ff3680a54..ad688849e874 100644 --- a/clippy_tests/examples/double_neg.stderr +++ b/clippy_tests/examples/double_neg.stderr @@ -6,7 +6,7 @@ error: `--x` could be misinterpreted as pre-decrement by C programmers, is usual | = note: `-D double-neg` implied by `-D warnings` -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/double_parens.stderr b/clippy_tests/examples/double_parens.stderr index bacbeaac4760..d6634bff9c9a 100644 --- a/clippy_tests/examples/double_parens.stderr +++ b/clippy_tests/examples/double_parens.stderr @@ -38,7 +38,7 @@ error: Consider removing unnecessary double parentheses | = note: `-D double-parens` implied by `-D warnings` -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/drop_forget_copy.stderr b/clippy_tests/examples/drop_forget_copy.stderr index 8309d9aee2f9..8eaf70c480ca 100644 --- a/clippy_tests/examples/drop_forget_copy.stderr +++ b/clippy_tests/examples/drop_forget_copy.stderr @@ -76,7 +76,7 @@ note: argument has type SomeStruct 42 | forget(s4); | ^^ -error: aborting due to 6 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/drop_forget_ref.stderr b/clippy_tests/examples/drop_forget_ref.stderr index 47cd9a9a9033..2b564c9903ac 100644 --- a/clippy_tests/examples/drop_forget_ref.stderr +++ b/clippy_tests/examples/drop_forget_ref.stderr @@ -232,7 +232,7 @@ note: argument has type &SomeStruct 59 | std::mem::forget(&SomeStruct); | ^^^^^^^^^^^ -error: aborting due to 18 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/duplicate_underscore_argument.stderr b/clippy_tests/examples/duplicate_underscore_argument.stderr index b6d710cc8541..e70980102522 100644 --- a/clippy_tests/examples/duplicate_underscore_argument.stderr +++ b/clippy_tests/examples/duplicate_underscore_argument.stderr @@ -6,7 +6,7 @@ error: `darth` already exists, having another argument having almost the same na | = note: `-D duplicate-underscore-argument` implied by `-D warnings` -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/empty_enum.stderr b/clippy_tests/examples/empty_enum.stderr index 64a9d54986dc..486f0d83fa25 100644 --- a/clippy_tests/examples/empty_enum.stderr +++ b/clippy_tests/examples/empty_enum.stderr @@ -11,7 +11,7 @@ help: consider using the uninhabited type `!` or a wrapper around it 7 | enum Empty {} | ^^^^^^^^^^^^^ -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/entry.stderr b/clippy_tests/examples/entry.stderr index 8b26a80ff908..2960608e60dd 100644 --- a/clippy_tests/examples/entry.stderr +++ b/clippy_tests/examples/entry.stderr @@ -54,7 +54,7 @@ error: usage of `contains_key` followed by `insert` on a `BTreeMap` | = note: `-D map-entry` implied by `-D warnings` -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/enum_glob_use.stderr b/clippy_tests/examples/enum_glob_use.stderr index 47535fe574d9..2323aa234bbf 100644 --- a/clippy_tests/examples/enum_glob_use.stderr +++ b/clippy_tests/examples/enum_glob_use.stderr @@ -14,7 +14,7 @@ error: don't use glob imports for enum variants | = note: `-D enum-glob-use` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/enum_variants.stderr b/clippy_tests/examples/enum_variants.stderr index 0b8dd1ba7d8a..978bbcc51265 100644 --- a/clippy_tests/examples/enum_variants.stderr +++ b/clippy_tests/examples/enum_variants.stderr @@ -108,7 +108,7 @@ error: All variants have the same prefix: `With` = note: `-D pub-enum-variant-names` implied by `-D warnings` = help: remove the prefixes and use full paths to the variants instead of glob imports -error: aborting due to 10 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/enums_clike.stderr b/clippy_tests/examples/enums_clike.stderr index 51fa29d74aa1..b78f98cb6911 100644 --- a/clippy_tests/examples/enums_clike.stderr +++ b/clippy_tests/examples/enums_clike.stderr @@ -62,7 +62,7 @@ error: Clike enum variant discriminant is not portable to 32-bit targets | = note: `-D enum-clike-unportable-variant` implied by `-D warnings` -error: aborting due to 8 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/eq_op.stderr b/clippy_tests/examples/eq_op.stderr index 372d584e7bc0..7bbe4d05013b 100644 --- a/clippy_tests/examples/eq_op.stderr +++ b/clippy_tests/examples/eq_op.stderr @@ -264,7 +264,7 @@ error: taken reference of right operand | = note: `-D op-ref` implied by `-D warnings` -error: aborting due to 33 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/eta.stderr b/clippy_tests/examples/eta.stderr index c66a3f4355dc..2ba83ffa0fee 100644 --- a/clippy_tests/examples/eta.stderr +++ b/clippy_tests/examples/eta.stderr @@ -38,7 +38,7 @@ error: redundant closure found | = note: `-D redundant-closure` implied by `-D warnings` -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/eval_order_dependence.stderr b/clippy_tests/examples/eval_order_dependence.stderr index 3e7d8eb21a48..d542cacc4bd9 100644 --- a/clippy_tests/examples/eval_order_dependence.stderr +++ b/clippy_tests/examples/eval_order_dependence.stderr @@ -50,7 +50,7 @@ note: whether read occurs before this write depends on evaluation order 21 | x += { x = 20; 2 }; | ^^^^^^ -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/filter_methods.stderr b/clippy_tests/examples/filter_methods.stderr index 099f1da5364b..65513c3ff02b 100644 --- a/clippy_tests/examples/filter_methods.stderr +++ b/clippy_tests/examples/filter_methods.stderr @@ -42,7 +42,7 @@ error: called `filter_map(p).map(q)` on an `Iterator`. This is more succinctly e | = note: `-D filter-map` implied by `-D warnings` -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/float_cmp.stderr b/clippy_tests/examples/float_cmp.stderr index 4890899a48d0..05ee40397ede 100644 --- a/clippy_tests/examples/float_cmp.stderr +++ b/clippy_tests/examples/float_cmp.stderr @@ -102,7 +102,7 @@ note: std::f32::EPSILON and std::f64::EPSILON are available. 57 | twice(x) != twice(ONE as f64); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -error: aborting due to 8 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/for_loop.stderr b/clippy_tests/examples/for_loop.stderr index c3ecebcbec23..8ecdc6f5a263 100644 --- a/clippy_tests/examples/for_loop.stderr +++ b/clippy_tests/examples/for_loop.stderr @@ -493,7 +493,7 @@ error: you seem to want to iterate on a map's keys help: use the corresponding method | for k in rm.keys() { -error: aborting due to 49 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/format.stderr b/clippy_tests/examples/format.stderr index 5e04c7d132d3..543bfe4a07ed 100644 --- a/clippy_tests/examples/format.stderr +++ b/clippy_tests/examples/format.stderr @@ -22,7 +22,7 @@ error: useless use of `format!` | = note: `-D useless-format` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/formatting.stderr b/clippy_tests/examples/formatting.stderr index 2a5854c8e010..507619cf2615 100644 --- a/clippy_tests/examples/formatting.stderr +++ b/clippy_tests/examples/formatting.stderr @@ -93,7 +93,7 @@ error: possibly missing a comma here = note: `-D possible-missing-comma` implied by `-D warnings` = note: to remove this lint, add a comma or write the expr in a single line -error: aborting due to 10 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/functions.stderr b/clippy_tests/examples/functions.stderr index 7935fd4ddb76..de678148cd1c 100644 --- a/clippy_tests/examples/functions.stderr +++ b/clippy_tests/examples/functions.stderr @@ -95,7 +95,7 @@ error: this public function dereferences a raw pointer but is not marked `unsafe | = note: `-D not-unsafe-ptr-arg-deref` implied by `-D warnings` -error: aborting due to 12 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/identity_op.stderr b/clippy_tests/examples/identity_op.stderr index 34181bbd12b4..405fe12d69f6 100644 --- a/clippy_tests/examples/identity_op.stderr +++ b/clippy_tests/examples/identity_op.stderr @@ -54,7 +54,7 @@ error: the operation is ineffective. Consider reducing it to `x` | = note: `-D identity-op` implied by `-D warnings` -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/if_let_redundant_pattern_matching.stderr b/clippy_tests/examples/if_let_redundant_pattern_matching.stderr index 56c0e7b9b326..665896632af3 100644 --- a/clippy_tests/examples/if_let_redundant_pattern_matching.stderr +++ b/clippy_tests/examples/if_let_redundant_pattern_matching.stderr @@ -30,7 +30,7 @@ error: redundant pattern matching, consider using `is_some()` | = note: `-D if-let-redundant-pattern-matching` implied by `-D warnings` -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/if_not_else.stderr b/clippy_tests/examples/if_not_else.stderr index bce147204339..fe0c0837214f 100644 --- a/clippy_tests/examples/if_not_else.stderr +++ b/clippy_tests/examples/if_not_else.stderr @@ -24,7 +24,7 @@ error: Unnecessary `!=` operation = note: `-D if-not-else` implied by `-D warnings` = help: change to `==` and swap the blocks of the if/else -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/invalid_upcast_comparisons.stderr b/clippy_tests/examples/invalid_upcast_comparisons.stderr index 65319b15c526..ad03afdd830f 100644 --- a/clippy_tests/examples/invalid_upcast_comparisons.stderr +++ b/clippy_tests/examples/invalid_upcast_comparisons.stderr @@ -214,7 +214,7 @@ error: because of the numeric bounds on `u8` prior to casting, this expression i | = note: `-D invalid-upcast-comparisons` implied by `-D warnings` -error: aborting due to 27 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/item_after_statement.stderr b/clippy_tests/examples/item_after_statement.stderr index 65bdbe29c117..a039317126ea 100644 --- a/clippy_tests/examples/item_after_statement.stderr +++ b/clippy_tests/examples/item_after_statement.stderr @@ -14,7 +14,7 @@ error: adding items after statements is confusing, since items exist from the st | = note: `-D items-after-statements` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/large_enum_variant.stderr b/clippy_tests/examples/large_enum_variant.stderr index 6761bb73148c..355a5594f3a5 100644 --- a/clippy_tests/examples/large_enum_variant.stderr +++ b/clippy_tests/examples/large_enum_variant.stderr @@ -67,7 +67,7 @@ error: large size difference between variants help: consider boxing the large fields to reduce the total size of the enum | StructLikeLarge2 { x: Box<[i32; 8000]> }, -error: aborting due to 6 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/len_zero.stderr b/clippy_tests/examples/len_zero.stderr index 16a68734da06..110bddfec10a 100644 --- a/clippy_tests/examples/len_zero.stderr +++ b/clippy_tests/examples/len_zero.stderr @@ -104,7 +104,7 @@ error: length comparison to zero | = note: `-D len-zero` implied by `-D warnings` -error: aborting due to 11 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/let_if_seq.stderr b/clippy_tests/examples/let_if_seq.stderr index 195d9c722876..382c51046b42 100644 --- a/clippy_tests/examples/let_if_seq.stderr +++ b/clippy_tests/examples/let_if_seq.stderr @@ -50,7 +50,7 @@ error: `if _ { .. } else { .. }` is an expression = note: `-D useless-let-if-seq` implied by `-D warnings` = note: you might not need `mut` at all -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/let_return.stderr b/clippy_tests/examples/let_return.stderr index e78294d260c6..8136e6242ac2 100644 --- a/clippy_tests/examples/let_return.stderr +++ b/clippy_tests/examples/let_return.stderr @@ -24,7 +24,7 @@ note: this expression can be directly returned 15 | let x = 5; | ^ -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/let_unit.stderr b/clippy_tests/examples/let_unit.stderr index 00ac0bfd0268..4b3c27659e69 100644 --- a/clippy_tests/examples/let_unit.stderr +++ b/clippy_tests/examples/let_unit.stderr @@ -14,7 +14,7 @@ error: this let-binding has unit value. Consider omitting `let _a =` | = note: `-D let-unit-value` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/lifetimes.stderr b/clippy_tests/examples/lifetimes.stderr index b1c1262afb91..c130fabcfa4c 100644 --- a/clippy_tests/examples/lifetimes.stderr +++ b/clippy_tests/examples/lifetimes.stderr @@ -112,7 +112,7 @@ error: explicit lifetimes given in parameter types where they could be elided | = note: `-D needless-lifetimes` implied by `-D warnings` -error: aborting due to 14 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/lint_pass.stderr b/clippy_tests/examples/lint_pass.stderr index fc3c132f6b4d..893a51c56b71 100644 --- a/clippy_tests/examples/lint_pass.stderr +++ b/clippy_tests/examples/lint_pass.stderr @@ -6,7 +6,7 @@ error: the lint `MISSING_LINT` is not added to any `LintPass` | = note: `-D lint-without-lint-pass` implied by `-D warnings` -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/literals.stderr b/clippy_tests/examples/literals.stderr index 1c3d376f2ba1..d38500f01593 100644 --- a/clippy_tests/examples/literals.stderr +++ b/clippy_tests/examples/literals.stderr @@ -74,7 +74,7 @@ help: if you mean to use a decimal constant, remove the `0` to remove confusion: help: if you mean to use an octal constant, use `0o`: | let fail8 = 0o123; -error: aborting due to 9 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/map_clone.stderr b/clippy_tests/examples/map_clone.stderr index 08af0a89c59e..5f04a99ce09e 100644 --- a/clippy_tests/examples/map_clone.stderr +++ b/clippy_tests/examples/map_clone.stderr @@ -108,7 +108,7 @@ error: you seem to be using .map() to clone the contents of an Option, consider = help: try x.as_ref().cloned() -error: aborting due to 11 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/matches.stderr b/clippy_tests/examples/matches.stderr index 930e87138ded..68e67a5be4e9 100644 --- a/clippy_tests/examples/matches.stderr +++ b/clippy_tests/examples/matches.stderr @@ -289,7 +289,7 @@ error: Err(_) will match all errors, maybe not a good idea = note: `-D match-wild-err-arm` implied by `-D warnings` = note: to remove this warning, match each error seperately or use unreachable macro -error: aborting due to 26 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/mem_forget.stderr b/clippy_tests/examples/mem_forget.stderr index 97c791aa1215..edf6c628f6e6 100644 --- a/clippy_tests/examples/mem_forget.stderr +++ b/clippy_tests/examples/mem_forget.stderr @@ -22,7 +22,7 @@ error: usage of mem::forget on Drop type | = note: `-D mem-forget` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/methods.stderr b/clippy_tests/examples/methods.stderr index ce4cd3ea859f..28c35168f135 100644 --- a/clippy_tests/examples/methods.stderr +++ b/clippy_tests/examples/methods.stderr @@ -760,7 +760,7 @@ error: called `cloned().collect()` on a slice to create a `Vec`. Calling `to_vec | = note: `-D iter-cloned-collect` implied by `-D warnings` -error: aborting due to 89 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/min_max.stderr b/clippy_tests/examples/min_max.stderr index 3fe4d848a719..55cae4599bf8 100644 --- a/clippy_tests/examples/min_max.stderr +++ b/clippy_tests/examples/min_max.stderr @@ -54,7 +54,7 @@ error: this min/max combination leads to constant result | = note: `-D min-max` implied by `-D warnings` -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/missing-doc.stderr b/clippy_tests/examples/missing-doc.stderr index 442698385739..e1092db510d6 100644 --- a/clippy_tests/examples/missing-doc.stderr +++ b/clippy_tests/examples/missing-doc.stderr @@ -348,7 +348,7 @@ error: missing documentation for a function | = note: `-D missing-docs-in-private-items` implied by `-D warnings` -error: aborting due to 40 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/module_inception.stderr b/clippy_tests/examples/module_inception.stderr index dc76c3f819cb..9a794bd791cd 100644 --- a/clippy_tests/examples/module_inception.stderr +++ b/clippy_tests/examples/module_inception.stderr @@ -18,7 +18,7 @@ error: module has the same name as its containing module | = note: `-D module-inception` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/modulo_one.stderr b/clippy_tests/examples/modulo_one.stderr index f3ff5ba6e542..09de0e977cee 100644 --- a/clippy_tests/examples/modulo_one.stderr +++ b/clippy_tests/examples/modulo_one.stderr @@ -6,7 +6,7 @@ error: any number modulo 1 will be 0 | = note: `-D modulo-one` implied by `-D warnings` -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/mut_from_ref.stderr b/clippy_tests/examples/mut_from_ref.stderr index aa05eb2450ed..d1a868f56bfa 100644 --- a/clippy_tests/examples/mut_from_ref.stderr +++ b/clippy_tests/examples/mut_from_ref.stderr @@ -63,7 +63,7 @@ note: immutable borrow here 32 | fn fail_double<'a, 'b>(x: &'a u32, y: &'a u32, z: &'b mut u32) -> &'a mut u32 { | ^^^^^^^ ^^^^^^^ -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/mut_mut.stderr b/clippy_tests/examples/mut_mut.stderr index 974f2e1b2f41..abd6997018c6 100644 --- a/clippy_tests/examples/mut_mut.stderr +++ b/clippy_tests/examples/mut_mut.stderr @@ -105,7 +105,7 @@ error: generally you want to avoid `&mut &mut _` if possible | = note: `-D mut-mut` implied by `-D warnings` -error: aborting due to 13 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/mut_reference.stderr b/clippy_tests/examples/mut_reference.stderr index 9ff0859c92df..34d33f622190 100644 --- a/clippy_tests/examples/mut_reference.stderr +++ b/clippy_tests/examples/mut_reference.stderr @@ -22,7 +22,7 @@ error: The function/method "takes_an_immutable_reference" doesn't need a mutable | = note: `-D unnecessary-mut-passed` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/mutex_atomic.stderr b/clippy_tests/examples/mutex_atomic.stderr index 6daa95c942b4..bf6a9e8db4a7 100644 --- a/clippy_tests/examples/mutex_atomic.stderr +++ b/clippy_tests/examples/mutex_atomic.stderr @@ -54,7 +54,7 @@ error: Consider using an AtomicIsize instead of a Mutex here. If you just want t | = note: `-D mutex-integer` implied by `-D warnings` -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/needless_bool.stderr b/clippy_tests/examples/needless_bool.stderr index b0cce397ef90..e2cc011785ed 100644 --- a/clippy_tests/examples/needless_bool.stderr +++ b/clippy_tests/examples/needless_bool.stderr @@ -86,7 +86,7 @@ error: this if-then-else expression returns a bool literal | = note: `-D needless-bool` implied by `-D warnings` -error: aborting due to 11 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/needless_borrow.stderr b/clippy_tests/examples/needless_borrow.stderr index 7192a62eaf16..6b971cd3d3d3 100644 --- a/clippy_tests/examples/needless_borrow.stderr +++ b/clippy_tests/examples/needless_borrow.stderr @@ -30,7 +30,7 @@ error: this pattern creates a reference to a reference | = note: `-D needless-borrow` implied by `-D warnings` -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/needless_continue.stderr b/clippy_tests/examples/needless_continue.stderr index dce3dbb44247..b920751c33c2 100644 --- a/clippy_tests/examples/needless_continue.stderr +++ b/clippy_tests/examples/needless_continue.stderr @@ -56,7 +56,7 @@ error: There is no need for an explicit `else` block for this `if` expression println!("Jabber"); ... -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/needless_pass_by_value.stderr b/clippy_tests/examples/needless_pass_by_value.stderr index b3c8d8f2d281..5cfc2eddad8b 100644 --- a/clippy_tests/examples/needless_pass_by_value.stderr +++ b/clippy_tests/examples/needless_pass_by_value.stderr @@ -62,7 +62,7 @@ help: consider taking a reference instead | let Wrapper(ref t) = *y; // not moved | let Wrapper(_) = *y; // still not moved -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/needless_return.stderr b/clippy_tests/examples/needless_return.stderr index 1e1c199bac31..a78eb9b8f41f 100644 --- a/clippy_tests/examples/needless_return.stderr +++ b/clippy_tests/examples/needless_return.stderr @@ -62,7 +62,7 @@ error: unneeded return statement | = note: `-D needless-return` implied by `-D warnings` -error: aborting due to 8 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/needless_update.stderr b/clippy_tests/examples/needless_update.stderr index b2bf2c16d3b3..1146b61d2456 100644 --- a/clippy_tests/examples/needless_update.stderr +++ b/clippy_tests/examples/needless_update.stderr @@ -6,7 +6,7 @@ error: struct update has no effect, all the fields in the struct have already be | = note: `-D needless-update` implied by `-D warnings` -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/neg_multiply.stderr b/clippy_tests/examples/neg_multiply.stderr index fa39514eaf52..788cd7658954 100644 --- a/clippy_tests/examples/neg_multiply.stderr +++ b/clippy_tests/examples/neg_multiply.stderr @@ -14,7 +14,7 @@ error: Negation by multiplying with -1 | = note: `-D neg-multiply` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/never_loop.stderr b/clippy_tests/examples/never_loop.stderr index 14da50123274..28e172bbd01f 100644 --- a/clippy_tests/examples/never_loop.stderr +++ b/clippy_tests/examples/never_loop.stderr @@ -34,7 +34,7 @@ error: this loop never actually loops | = note: `-D never-loop` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/new_without_default.stderr b/clippy_tests/examples/new_without_default.stderr index a18d7bc0c090..afae03ee9b0c 100644 --- a/clippy_tests/examples/new_without_default.stderr +++ b/clippy_tests/examples/new_without_default.stderr @@ -34,7 +34,7 @@ help: try this | ... -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/no_effect.stderr b/clippy_tests/examples/no_effect.stderr index 0bd4e913d036..31c3a4c86d37 100644 --- a/clippy_tests/examples/no_effect.stderr +++ b/clippy_tests/examples/no_effect.stderr @@ -350,7 +350,7 @@ error: statement can be reduced | = note: `-D unnecessary-operation` implied by `-D warnings` -error: aborting due to 44 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/non_expressive_names.stderr b/clippy_tests/examples/non_expressive_names.stderr index 8e070222761c..f8e18297ce68 100644 --- a/clippy_tests/examples/non_expressive_names.stderr +++ b/clippy_tests/examples/non_expressive_names.stderr @@ -141,7 +141,7 @@ error: 5th binding whose name is just one char | = note: `-D many-single-char-names` implied by `-D warnings` -error: aborting due to 11 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/ok_if_let.stderr b/clippy_tests/examples/ok_if_let.stderr index 96a5726cecae..2399d7782bc1 100644 --- a/clippy_tests/examples/ok_if_let.stderr +++ b/clippy_tests/examples/ok_if_let.stderr @@ -11,7 +11,7 @@ error: Matching on `Some` with `ok()` is redundant = note: `-D if-let-some-result` implied by `-D warnings` = help: Consider matching on `Ok(y)` and removing the call to `ok` instead -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/op_ref.stderr b/clippy_tests/examples/op_ref.stderr index f8b7f0c16a25..89ac9e4d8c48 100644 --- a/clippy_tests/examples/op_ref.stderr +++ b/clippy_tests/examples/op_ref.stderr @@ -8,7 +8,7 @@ error: needlessly taken reference of both operands help: use the values directly | let foo = 5 - 6; -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/open_options.stderr b/clippy_tests/examples/open_options.stderr index c526ea640a6d..94ef92775307 100644 --- a/clippy_tests/examples/open_options.stderr +++ b/clippy_tests/examples/open_options.stderr @@ -54,7 +54,7 @@ error: the method "truncate" is called more than once | = note: `-D nonsensical-open-options` implied by `-D warnings` -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/overflow_check_conditional.stderr b/clippy_tests/examples/overflow_check_conditional.stderr index f3e4b991da86..f5c02c3fadd5 100644 --- a/clippy_tests/examples/overflow_check_conditional.stderr +++ b/clippy_tests/examples/overflow_check_conditional.stderr @@ -62,7 +62,7 @@ error: You are trying to use classic C underflow conditions that will fail in Ru | = note: `-D overflow-check-conditional` implied by `-D warnings` -error: aborting due to 8 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/panic.stderr b/clippy_tests/examples/panic.stderr index bc4156689979..4391a8c0017f 100644 --- a/clippy_tests/examples/panic.stderr +++ b/clippy_tests/examples/panic.stderr @@ -31,7 +31,7 @@ error: you probably are missing some parameter in your format string = note: `-D panic-params` implied by `-D warnings` = note: this error originates in a macro outside of the current crate -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/partialeq_ne_impl.stderr b/clippy_tests/examples/partialeq_ne_impl.stderr index cb8e2d792d37..e9926f9710eb 100644 --- a/clippy_tests/examples/partialeq_ne_impl.stderr +++ b/clippy_tests/examples/partialeq_ne_impl.stderr @@ -6,7 +6,7 @@ error: re-implementing `PartialEq::ne` is unnecessary | = note: `-D partialeq-ne-impl` implied by `-D warnings` -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/patterns.stderr b/clippy_tests/examples/patterns.stderr index 441a138dcaac..5423730dfe06 100644 --- a/clippy_tests/examples/patterns.stderr +++ b/clippy_tests/examples/patterns.stderr @@ -6,7 +6,7 @@ error: the `y @ _` pattern can be written as just `y` | = note: `-D redundant-pattern` implied by `-D warnings` -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/precedence.stderr b/clippy_tests/examples/precedence.stderr index 8994366ebdc1..324a42757eff 100644 --- a/clippy_tests/examples/precedence.stderr +++ b/clippy_tests/examples/precedence.stderr @@ -70,7 +70,7 @@ error: unary minus has lower precedence than method call | = note: `-D precedence` implied by `-D warnings` -error: aborting due to 9 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/print.stderr b/clippy_tests/examples/print.stderr index f1bca2e84456..d231ef5a1193 100644 --- a/clippy_tests/examples/print.stderr +++ b/clippy_tests/examples/print.stderr @@ -62,7 +62,7 @@ error: use of `Debug`-based formatting | = note: `-D use-debug` implied by `-D warnings` -error: aborting due to 8 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/print_with_newline.stderr b/clippy_tests/examples/print_with_newline.stderr index 010f29f840d6..846bdc9f53a6 100644 --- a/clippy_tests/examples/print_with_newline.stderr +++ b/clippy_tests/examples/print_with_newline.stderr @@ -30,7 +30,7 @@ error: using `print!()` with a format string that ends in a newline, consider us | = note: `-D print-with-newline` implied by `-D warnings` -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/ptr_arg.stderr b/clippy_tests/examples/ptr_arg.stderr index eb15e628812c..1297d1be8269 100644 --- a/clippy_tests/examples/ptr_arg.stderr +++ b/clippy_tests/examples/ptr_arg.stderr @@ -22,7 +22,7 @@ error: writing `&Vec<_>` instead of `&[_]` involves one more reference and canno | = note: `-D ptr-arg` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/range.stderr b/clippy_tests/examples/range.stderr index 39db16af3cbd..1d23f1425870 100644 --- a/clippy_tests/examples/range.stderr +++ b/clippy_tests/examples/range.stderr @@ -38,7 +38,7 @@ error: It is more idiomatic to use v1.iter().enumerate() | = note: `-D range-zip-with-len` implied by `-D warnings` -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/redundant_closure_call.stderr b/clippy_tests/examples/redundant_closure_call.stderr index a9eacf380bf2..418d51b8fb20 100644 --- a/clippy_tests/examples/redundant_closure_call.stderr +++ b/clippy_tests/examples/redundant_closure_call.stderr @@ -38,7 +38,7 @@ error: Try not to call a closure in the expression where it is declared. | = note: `-D redundant-closure-call` implied by `-D warnings` -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/reference.stderr b/clippy_tests/examples/reference.stderr index 317650d27b1a..29abfae35f64 100644 --- a/clippy_tests/examples/reference.stderr +++ b/clippy_tests/examples/reference.stderr @@ -86,7 +86,7 @@ error: immediately dereferencing a reference | = note: `-D deref-addrof` implied by `-D warnings` -error: aborting due to 11 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/regex.stderr b/clippy_tests/examples/regex.stderr index 078a1dd11ccc..bd8d3579c6b9 100644 --- a/clippy_tests/examples/regex.stderr +++ b/clippy_tests/examples/regex.stderr @@ -4,7 +4,7 @@ error[E0463]: can't find crate for `regex` 7 | extern crate regex; | ^^^^^^^^^^^^^^^^^^^ can't find crate -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/serde.stderr b/clippy_tests/examples/serde.stderr index d0847ed3bc4e..095051637b64 100644 --- a/clippy_tests/examples/serde.stderr +++ b/clippy_tests/examples/serde.stderr @@ -4,7 +4,7 @@ error[E0463]: can't find crate for `serde` 6 | extern crate serde; | ^^^^^^^^^^^^^^^^^^^ can't find crate -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/shadow.stderr b/clippy_tests/examples/shadow.stderr index 22211248e699..9d576adb94fc 100644 --- a/clippy_tests/examples/shadow.stderr +++ b/clippy_tests/examples/shadow.stderr @@ -140,7 +140,7 @@ note: previous binding is here 21 | let x = y; | ^ -error: aborting due to 9 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/short_circuit_statement.stderr b/clippy_tests/examples/short_circuit_statement.stderr index 4fd1526e24c1..b71f0a2d37d3 100644 --- a/clippy_tests/examples/short_circuit_statement.stderr +++ b/clippy_tests/examples/short_circuit_statement.stderr @@ -22,7 +22,7 @@ error: boolean short circuit operator in statement may be clearer using an expli | = note: `-D short-circuit-statement` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/should_assert_eq.stderr b/clippy_tests/examples/should_assert_eq.stderr index 96a8542cde76..72dd99836f9f 100644 --- a/clippy_tests/examples/should_assert_eq.stderr +++ b/clippy_tests/examples/should_assert_eq.stderr @@ -61,7 +61,7 @@ error: use `assert_ne` for better reporting = note: `-D should-assert-eq` implied by `-D warnings` = note: this error originates in a macro outside of the current crate -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/strings.stderr b/clippy_tests/examples/strings.stderr index df7b8e1c8962..a12346086d3a 100644 --- a/clippy_tests/examples/strings.stderr +++ b/clippy_tests/examples/strings.stderr @@ -54,7 +54,7 @@ error: manual implementation of an assign operation | = note: `-D assign-op-pattern` implied by `-D warnings` -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/stutter.stderr b/clippy_tests/examples/stutter.stderr index 750ed3b05c72..88b5b25e6df3 100644 --- a/clippy_tests/examples/stutter.stderr +++ b/clippy_tests/examples/stutter.stderr @@ -30,7 +30,7 @@ error: item name ends with its containing module's name | = note: `-D stutter` implied by `-D warnings` -error: aborting due to 4 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/swap.stderr b/clippy_tests/examples/swap.stderr index 494bc41a596e..8927da371a4a 100644 --- a/clippy_tests/examples/swap.stderr +++ b/clippy_tests/examples/swap.stderr @@ -72,7 +72,7 @@ error: this looks like you are trying to swap `c.0` and `a` = note: `-D almost-swapped` implied by `-D warnings` = note: or maybe you should use `std::mem::replace`? -error: aborting due to 7 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/temporary_assignment.stderr b/clippy_tests/examples/temporary_assignment.stderr index 73d5070d0756..134debb22ff7 100644 --- a/clippy_tests/examples/temporary_assignment.stderr +++ b/clippy_tests/examples/temporary_assignment.stderr @@ -14,7 +14,7 @@ error: assignment to temporary | = note: `-D temporary-assignment` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/toplevel_ref_arg.stderr b/clippy_tests/examples/toplevel_ref_arg.stderr index b25e464f3027..1256c93bf831 100644 --- a/clippy_tests/examples/toplevel_ref_arg.stderr +++ b/clippy_tests/examples/toplevel_ref_arg.stderr @@ -38,7 +38,7 @@ error: `ref` on an entire `let` pattern is discouraged, take a reference with `& | = note: `-D toplevel-ref-arg` implied by `-D warnings` -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/unicode.stderr b/clippy_tests/examples/unicode.stderr index 341006ecd679..07aa609f3218 100644 --- a/clippy_tests/examples/unicode.stderr +++ b/clippy_tests/examples/unicode.stderr @@ -28,7 +28,7 @@ error: literal non-ASCII character detected = help: Consider replacing the string with: ""\u{dc}ben!"" -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/unit_cmp.stderr b/clippy_tests/examples/unit_cmp.stderr index c4bcb635eba6..5b7b116c82cc 100644 --- a/clippy_tests/examples/unit_cmp.stderr +++ b/clippy_tests/examples/unit_cmp.stderr @@ -14,7 +14,7 @@ error: >-comparison of unit values detected. This will always be false | = note: `-D unit-cmp` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/unneeded_field_pattern.stderr b/clippy_tests/examples/unneeded_field_pattern.stderr index 22f9c3cdc8af..d26a19f0ca81 100644 --- a/clippy_tests/examples/unneeded_field_pattern.stderr +++ b/clippy_tests/examples/unneeded_field_pattern.stderr @@ -16,7 +16,7 @@ error: All the struct fields are matched to a wildcard pattern, consider using ` = note: `-D unneeded-field-pattern` implied by `-D warnings` = help: Try with `Foo { .. }` instead -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/unsafe_removed_from_name.stderr b/clippy_tests/examples/unsafe_removed_from_name.stderr index 8bdee95b5578..e360528e29ba 100644 --- a/clippy_tests/examples/unsafe_removed_from_name.stderr +++ b/clippy_tests/examples/unsafe_removed_from_name.stderr @@ -22,7 +22,7 @@ error: removed "unsafe" from the name of `Unsafe` in use as `LieAboutModSafety` | = note: `-D unsafe-removed-from-name` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/unused_io_amount.stderr b/clippy_tests/examples/unused_io_amount.stderr index 3b58cd541d24..f2e5ff286663 100644 --- a/clippy_tests/examples/unused_io_amount.stderr +++ b/clippy_tests/examples/unused_io_amount.stderr @@ -48,7 +48,7 @@ error: handle read amount returned or use `Read::read_exact` instead | = note: `-D unused-io-amount` implied by `-D warnings` -error: aborting due to 6 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/unused_labels.stderr b/clippy_tests/examples/unused_labels.stderr index 1af6dc6b44fd..4b336dd0ec06 100644 --- a/clippy_tests/examples/unused_labels.stderr +++ b/clippy_tests/examples/unused_labels.stderr @@ -26,7 +26,7 @@ error: unused label `'same_label_in_two_fns` | = note: `-D unused-label` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/unused_lt.stderr b/clippy_tests/examples/unused_lt.stderr index d1e354307d22..2c2aac2d84e0 100644 --- a/clippy_tests/examples/unused_lt.stderr +++ b/clippy_tests/examples/unused_lt.stderr @@ -22,7 +22,7 @@ error: this lifetime isn't used in the function definition | = note: `-D unused-lifetimes` implied by `-D warnings` -error: aborting due to 3 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/used_underscore_binding.stderr b/clippy_tests/examples/used_underscore_binding.stderr index 7cb3c9ca74de..7daa9ab8d792 100644 --- a/clippy_tests/examples/used_underscore_binding.stderr +++ b/clippy_tests/examples/used_underscore_binding.stderr @@ -38,7 +38,7 @@ error: used binding `_underscore_field` which is prefixed with an underscore. A | = note: `-D used-underscore-binding` implied by `-D warnings` -error: aborting due to 5 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/useless_attribute.stderr b/clippy_tests/examples/useless_attribute.stderr index d7ab2b0ad266..f82401226f9e 100644 --- a/clippy_tests/examples/useless_attribute.stderr +++ b/clippy_tests/examples/useless_attribute.stderr @@ -4,7 +4,7 @@ error[E0463]: can't find crate for `clippy_lints` 6 | extern crate clippy_lints; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate -error: aborting due to previous error +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/vec.stderr b/clippy_tests/examples/vec.stderr index e96a0365cf16..2cdfbd116e71 100644 --- a/clippy_tests/examples/vec.stderr +++ b/clippy_tests/examples/vec.stderr @@ -46,7 +46,7 @@ error: useless use of `vec!` | = note: `-D useless-vec` implied by `-D warnings` -error: aborting due to 6 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/while_loop.stderr b/clippy_tests/examples/while_loop.stderr index 06f68d29bae4..ffc6bff20190 100644 --- a/clippy_tests/examples/while_loop.stderr +++ b/clippy_tests/examples/while_loop.stderr @@ -117,7 +117,7 @@ error: empty `loop {}` detected. You may want to either use `panic!()` or add `s | = note: `-D empty-loop` implied by `-D warnings` -error: aborting due to 10 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/wrong_self_convention.stderr b/clippy_tests/examples/wrong_self_convention.stderr index 4d19311f5ac6..7a96ed71024a 100644 --- a/clippy_tests/examples/wrong_self_convention.stderr +++ b/clippy_tests/examples/wrong_self_convention.stderr @@ -94,7 +94,7 @@ error: methods called `from_*` usually take no self; consider choosing a less am | = note: `-D wrong-self-convention` implied by `-D warnings` -error: aborting due to 12 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/zero_div_zero.stderr b/clippy_tests/examples/zero_div_zero.stderr index 04605a786d07..da6f28dba746 100644 --- a/clippy_tests/examples/zero_div_zero.stderr +++ b/clippy_tests/examples/zero_div_zero.stderr @@ -66,7 +66,7 @@ error: constant division of 0.0 with 0.0 will always result in NaN = note: `-D zero-divided-by-zero` implied by `-D warnings` = help: Consider using `std::f64::NAN` if you would like a constant representing NaN -error: aborting due to 8 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/clippy_tests/examples/zero_ptr.stderr b/clippy_tests/examples/zero_ptr.stderr index 031a3a4d3ed7..643b2dafbdc1 100644 --- a/clippy_tests/examples/zero_ptr.stderr +++ b/clippy_tests/examples/zero_ptr.stderr @@ -14,7 +14,7 @@ error: `0 as *mut _` detected. Consider using `ptr::null_mut()` | = note: `-D zero-ptr` implied by `-D warnings` -error: aborting due to 2 previous errors +error: aborting due to previous error(s) error: Could not compile `clippy_tests`. diff --git a/tests/ui-posix/conf_non_existant.stderr b/tests/ui-posix/conf_non_existant.stderr index 7920bd35589d..a7f000800014 100644 --- a/tests/ui-posix/conf_non_existant.stderr +++ b/tests/ui-posix/conf_non_existant.stderr @@ -1,4 +1,4 @@ error: error reading Clippy's configuration file: No such file or directory (os error 2) -error: aborting due to previous error +error: aborting due to previous error(s) diff --git a/tests/ui/builtin-type-shadow.stderr b/tests/ui/builtin-type-shadow.stderr index 269ff9a0eef5..59d034821235 100644 --- a/tests/ui/builtin-type-shadow.stderr +++ b/tests/ui/builtin-type-shadow.stderr @@ -15,5 +15,5 @@ error[E0308]: mismatched types = note: expected type `u32` found type `{integer}` -error: aborting due to previous error +error: aborting due to previous error(s) diff --git a/tests/ui/conf_bad_arg.stderr b/tests/ui/conf_bad_arg.stderr index 92b3c82d4583..35f70338017e 100644 --- a/tests/ui/conf_bad_arg.stderr +++ b/tests/ui/conf_bad_arg.stderr @@ -10,5 +10,5 @@ note: Clippy will use default configuration 4 | #![plugin(clippy(conf_file))] | ^^^^^^^^^ -error: aborting due to previous error +error: aborting due to previous error(s) diff --git a/tests/ui/conf_bad_toml.stderr b/tests/ui/conf_bad_toml.stderr index 8ee392f89248..b8bfeb333bd8 100644 --- a/tests/ui/conf_bad_toml.stderr +++ b/tests/ui/conf_bad_toml.stderr @@ -1,4 +1,4 @@ error: error reading Clippy's configuration file: expected an equals, found an identifier at line 1 -error: aborting due to previous error +error: aborting due to previous error(s) diff --git a/tests/ui/conf_bad_type.stderr b/tests/ui/conf_bad_type.stderr index 5cb4d05afef2..ee9bbeef81f9 100644 --- a/tests/ui/conf_bad_type.stderr +++ b/tests/ui/conf_bad_type.stderr @@ -1,4 +1,4 @@ error: error reading Clippy's configuration file: invalid type: integer `42`, expected a sequence -error: aborting due to previous error +error: aborting due to previous error(s) diff --git a/tests/ui/conf_path_non_string.stderr b/tests/ui/conf_path_non_string.stderr index 3bf53f10cce4..fd893ab370df 100644 --- a/tests/ui/conf_path_non_string.stderr +++ b/tests/ui/conf_path_non_string.stderr @@ -10,5 +10,5 @@ note: Clippy will use default configuration 3 | #![plugin(clippy(conf_file=42))] | ^^ -error: aborting due to previous error +error: aborting due to previous error(s) diff --git a/tests/ui/conf_unknown_key.stderr b/tests/ui/conf_unknown_key.stderr index bd16dfd47da9..b28224a78071 100644 --- a/tests/ui/conf_unknown_key.stderr +++ b/tests/ui/conf_unknown_key.stderr @@ -1,4 +1,4 @@ error: error reading Clippy's configuration file: unknown field `foobar`, expected one of `blacklisted-names`, `cyclomatic-complexity-threshold`, `doc-valid-idents`, `too-many-arguments-threshold`, `type-complexity-threshold`, `single-char-binding-names-threshold`, `too-large-for-stack`, `enum-variant-name-threshold`, `enum-variant-size-threshold`, `third-party` -error: aborting due to previous error +error: aborting due to previous error(s) diff --git a/tests/ui/ices.stderr b/tests/ui/ices.stderr index cadd7cd417d4..cc681100730b 100644 --- a/tests/ui/ices.stderr +++ b/tests/ui/ices.stderr @@ -4,5 +4,5 @@ error: cannot find macro `fubar!` in this scope 3 | fubar!(); | ^^^^^ -error: aborting due to previous error +error: aborting due to previous error(s)