Skip to content

Commit

Permalink
Update stderr files for change in error reporting
Browse files Browse the repository at this point in the history
rustc now (#33525) does not
report an error count anymore, because it was not correct in many cases.
  • Loading branch information
birkenfeld committed May 26, 2017
1 parent e72c70d commit 6b62530
Show file tree
Hide file tree
Showing 129 changed files with 129 additions and 129 deletions.
2 changes: 1 addition & 1 deletion clippy_tests/examples/absurd-extreme-comparisons.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/approx_const.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/arithmetic.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/array_indexing.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/assign_ops.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/assign_ops2.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/attrs.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/bit_masks.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/blacklisted_name.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/block_in_if_condition.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/bool_comparison.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/booleans.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/box_vec.stderr
Expand Up @@ -7,7 +7,7 @@ error: you seem to be trying to use `Box<Vec<T>>`. Consider using just `Vec<T>`
= note: `-D box-vec` implied by `-D warnings`
= help: `Vec<T>` is already on the heap, `Box<Vec<T>>` makes an extra allocation.

error: aborting due to previous error
error: aborting due to previous error(s)

error: Could not compile `clippy_tests`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/cast.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/char_lit_as_u8.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/cmp_nan.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/cmp_null.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/cmp_owned.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/collapsible_if.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/complex_types.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/copies.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/cyclomatic_complexity.stderr
Expand Up @@ -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`.

Expand Down
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/derive.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/diverging_sub_expression.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/dlist.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/doc.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/double_neg.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/double_parens.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/drop_forget_copy.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/drop_forget_ref.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/duplicate_underscore_argument.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/empty_enum.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/entry.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/enum_glob_use.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/enum_variants.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/enums_clike.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/eq_op.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/eta.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/eval_order_dependence.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/filter_methods.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/float_cmp.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/for_loop.stderr
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion clippy_tests/examples/format.stderr
Expand Up @@ -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`.

Expand Down

0 comments on commit 6b62530

Please sign in to comment.