Skip to content

Commit 6262e84

Browse files
NoratriebadrianEffe
andcommitted
Bless clippy tests
Co-authored-by: Adrian <[email protected]>
1 parent c22330e commit 6262e84

File tree

117 files changed

+117
-117
lines changed

Some content is hidden

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

117 files changed

+117
-117
lines changed

src/tools/clippy/tests/ui-toml/bad_toml/conf_bad_toml.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: error reading Clippy's configuration file: expected `.`, `=`
44
LL | fn this_is_obviously(not: a, toml: file) {
55
| ^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

src/tools/clippy/tests/ui-toml/bad_toml_type/conf_bad_type.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: error reading Clippy's configuration file: invalid type: integer `42`, ex
44
LL | disallowed-names = 42
55
| ^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

src/tools/clippy/tests/ui-toml/conf_deprecated_key/conf_deprecated_key.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ LL | fn cognitive_complexity() {
2020
= note: `-D clippy::cognitive-complexity` implied by `-D warnings`
2121
= help: to override `-D warnings` add `#[allow(clippy::cognitive_complexity)]`
2222

23-
error: aborting due to previous error; 2 warnings emitted
23+
error: aborting due to 1 previous error; 2 warnings emitted
2424

src/tools/clippy/tests/ui-toml/decimal_literal_representation/decimal_literal_representation.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let _ = 16777215;
77
= note: `-D clippy::decimal-literal-representation` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::decimal_literal_representation)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/disallowed_names_replace/disallowed_names.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let ducks = ["quack", "quack"];
77
= note: `-D clippy::disallowed-names` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::disallowed_names)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/disallowed_script_idents/disallowed_script_idents.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let カウンタ = 10;
77
= note: `-D clippy::disallowed-script-idents` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::disallowed_script_idents)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/doc_valid_idents_append/doc_markdown.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ help: try
1111
LL | /// `TestItemThingyOfCoolness` might sound cool but is not on the list and should be linted.
1212
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

src/tools/clippy/tests/ui-toml/duplicated_keys/duplicated_keys.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: error reading Clippy's configuration file: duplicate key `cognitive-compl
44
LL | cognitive-complexity-threshold = 4
55
| ^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

src/tools/clippy/tests/ui-toml/duplicated_keys_deprecated/duplicated_keys.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ warning: error reading Clippy's configuration file: deprecated field `cyclomatic
1010
LL | cyclomatic-complexity-threshold = 3
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212

13-
error: aborting due to previous error; 1 warning emitted
13+
error: aborting due to 1 previous error; 1 warning emitted
1414

src/tools/clippy/tests/ui-toml/duplicated_keys_deprecated_2/duplicated_keys.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ warning: error reading Clippy's configuration file: deprecated field `cyclomatic
1010
LL | cyclomatic-complexity-threshold = 3
1111
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1212

13-
error: aborting due to previous error; 1 warning emitted
13+
error: aborting due to 1 previous error; 1 warning emitted
1414

src/tools/clippy/tests/ui-toml/enum_variant_size/enum_variant_size.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ help: consider boxing the large fields to reduce the total size of the enum
1717
LL | B(Box<[u8; 501]>),
1818
| ~~~~~~~~~~~~~~
1919

20-
error: aborting due to previous error
20+
error: aborting due to 1 previous error
2121

src/tools/clippy/tests/ui-toml/fn_params_excessive_bools/test.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | fn g(_: bool, _: bool) {}
88
= note: `-D clippy::fn-params-excessive-bools` implied by `-D warnings`
99
= help: to override `-D warnings` add `#[allow(clippy::fn_params_excessive_bools)]`
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/clippy/tests/ui-toml/ifs_same_cond/ifs_same_cond.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ LL | if x.get() {
1212
= note: `-D clippy::ifs-same-cond` implied by `-D warnings`
1313
= help: to override `-D warnings` add `#[allow(clippy::ifs_same_cond)]`
1414

15-
error: aborting due to previous error
15+
error: aborting due to 1 previous error
1616

src/tools/clippy/tests/ui-toml/impl_trait_in_params/impl_trait_in_params.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ help: add a type parameter
1111
LL | fn t<{ /* Generic name */ }: Trait>(_: impl Trait);
1212
| +++++++++++++++++++++++++++++++
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

src/tools/clippy/tests/ui-toml/invalid_min_rust_version/invalid_min_rust_version.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: error reading Clippy's configuration file: not a valid Rust version
44
LL | msrv = "invalid.version"
55
| ^^^^^^^^^^^^^^^^^
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

src/tools/clippy/tests/ui-toml/large_futures/large_futures.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | should_warn().await;
77
= note: `-D clippy::large-futures` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::large_futures)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/large_stack_frames/large_stack_frames.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | | }
1111
= note: `-D clippy::large-stack-frames` implied by `-D warnings`
1212
= help: to override `-D warnings` add `#[allow(clippy::large_stack_frames)]`
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

src/tools/clippy/tests/ui-toml/large_types_passed_by_value/large_types_passed_by_value.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | fn f2(_v: [u8; 513]) {}
77
= note: `-D clippy::large-types-passed-by-value` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::large_types_passed_by_value)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/manual_let_else/manual_let_else.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | | };
1111
= note: `-D clippy::manual-let-else` implied by `-D warnings`
1212
= help: to override `-D warnings` add `#[allow(clippy::manual_let_else)]`
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

src/tools/clippy/tests/ui-toml/max_suggested_slice_pattern_length/index_refutable_slice.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ help: and replace the index expressions here
1818
LL | println!("{}", slice_7);
1919
| ~~~~~~~
2020

21-
error: aborting due to previous error
21+
error: aborting due to 1 previous error
2222

src/tools/clippy/tests/ui-toml/min_rust_version/min_rust_version.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let _: Option<u64> = Some(&16).map(|b| *b);
77
= note: `-D clippy::map-clone` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::map_clone)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/result_large_err/result_large_err.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | fn f2() -> Result<(), [u8; 512]> {
88
= note: `-D clippy::result-large-err` implied by `-D warnings`
99
= help: to override `-D warnings` add `#[allow(clippy::result_large_err)]`
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/clippy/tests/ui-toml/semicolon_block/semicolon_inside_block.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ LL ~ unit_fn_block();
1515
LL ~ }
1616
|
1717

18-
error: aborting due to previous error
18+
error: aborting due to 1 previous error
1919

src/tools/clippy/tests/ui-toml/struct_excessive_bools/test.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ LL | | }
1010
= note: `-D clippy::struct-excessive-bools` implied by `-D warnings`
1111
= help: to override `-D warnings` add `#[allow(clippy::struct_excessive_bools)]`
1212

13-
error: aborting due to previous error
13+
error: aborting due to 1 previous error
1414

src/tools/clippy/tests/ui-toml/too_large_for_stack/boxed_local.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | fn f(x: Box<[u8; 500]>) {}
77
= note: `-D clippy::boxed-local` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::boxed_local)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/too_large_for_stack/useless_vec.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let x = vec![0u8; 500];
77
= note: `-D clippy::useless-vec` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::useless_vec)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/too_many_arguments/too_many_arguments.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | fn too_many(p1: u8, p2: u8, p3: u8, p4: u8, p5: u8, p6: u8, p7: u8, p8: u8,
77
= note: `-D clippy::too-many-arguments` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::too_many_arguments)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/type_complexity/type_complexity.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | fn f2(_: (u8, (u8, (u8, (u8, (u8, (u8, u8))))))) {}
77
= note: `-D clippy::type-complexity` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::type_complexity)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/type_repetition_in_bounds/main.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | T: Unpin + PartialEq,
88
= note: `-D clippy::type-repetition-in-bounds` implied by `-D warnings`
99
= help: to override `-D warnings` add `#[allow(clippy::type_repetition_in_bounds)]`
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/clippy/tests/ui-toml/unnecessary_box_returns/unnecessary_box_returns.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | fn f() -> Box<[u8; 64]> {
88
= note: `-D clippy::unnecessary-box-returns` implied by `-D warnings`
99
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_box_returns)]`
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/clippy/tests/ui-toml/verbose_bit_mask/verbose_bit_mask.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let _ = v & 0b111111 == 0;
77
= note: `-D clippy::verbose-bit-mask` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::verbose_bit_mask)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui-toml/wildcard_imports/wildcard_imports.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | use prelude::*;
77
= note: `-D clippy::wildcard-imports` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::wildcard_imports)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui/borrow_deref_ref_unfixable.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ help: if you would like to deref, try using `&**`
1515
LL | let x: &str = &**s;
1616
| ~~~~
1717

18-
error: aborting due to previous error
18+
error: aborting due to 1 previous error
1919

src/tools/clippy/tests/ui/char_lit_as_u8.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | let _ = '❤' as u8;
88
= note: `-D clippy::char-lit-as-u8` implied by `-D warnings`
99
= help: to override `-D warnings` add `#[allow(clippy::char_lit_as_u8)]`
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/clippy/tests/ui/cognitive_complexity_attr_used.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | fn kaboom() {
88
= note: `-D clippy::cognitive-complexity` implied by `-D warnings`
99
= help: to override `-D warnings` add `#[allow(clippy::cognitive_complexity)]`
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/clippy/tests/ui/copy_iterator.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ LL | | }
1414
= note: `-D clippy::copy-iterator` implied by `-D warnings`
1515
= help: to override `-D warnings` add `#[allow(clippy::copy_iterator)]`
1616

17-
error: aborting due to previous error
17+
error: aborting due to 1 previous error
1818

src/tools/clippy/tests/ui/crashes/ice-10148.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ LL | println!(with_span!(""something ""));
99
= note: `-D clippy::println-empty-string` implied by `-D warnings`
1010
= help: to override `-D warnings` add `#[allow(clippy::println_empty_string)]`
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

src/tools/clippy/tests/ui/crashes/ice-11422.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ LL - fn gen() -> impl PartialOrd + PartialEq + Debug {}
1212
LL + fn gen() -> impl PartialOrd + Debug {}
1313
|
1414

15-
error: aborting due to previous error
15+
error: aborting due to 1 previous error
1616

src/tools/clippy/tests/ui/crashes/ice-2774.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ LL - pub fn add_barfoos_to_foos<'a>(bars: &HashSet<&'a Bar>) {
1212
LL + pub fn add_barfoos_to_foos(bars: &HashSet<&Bar>) {
1313
|
1414

15-
error: aborting due to previous error
15+
error: aborting due to 1 previous error
1616

src/tools/clippy/tests/ui/crashes/ice-3717.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ help: ...and use generic constructor
1818
LL | let _: HashSet<usize> = HashSet::default();
1919
| ~~~~~~~~~~~~~~~~~~
2020

21-
error: aborting due to previous error
21+
error: aborting due to 1 previous error
2222

src/tools/clippy/tests/ui/crashes/ice-3891.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ LL | 1x;
66
|
77
= help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
88

9-
error: aborting due to previous error
9+
error: aborting due to 1 previous error
1010

src/tools/clippy/tests/ui/crashes/ice-5497.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ LL | const OOB: i32 = [1][1] + T::OOB;
66
|
77
= note: `#[deny(unconditional_panic)]` on by default
88

9-
error: aborting due to previous error
9+
error: aborting due to 1 previous error
1010

src/tools/clippy/tests/ui/crashes/ice-5835.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | /// 位
77
= note: `-D clippy::tabs-in-doc-comments` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::tabs_in_doc_comments)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui/crashes/ice-5872.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let _ = vec![1, 2, 3].into_iter().collect::<Vec<_>>().is_empty();
77
= note: `-D clippy::needless-collect` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::needless_collect)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui/crashes/ice-6254.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ LL | FOO_REF_REF => {},
1111
= note: `-D indirect-structural-match` implied by `-D warnings`
1212
= help: to override `-D warnings` add `#[allow(indirect_structural_match)]`
1313

14-
error: aborting due to previous error
14+
error: aborting due to 1 previous error
1515

src/tools/clippy/tests/ui/crashes/ice-6255.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ LL | define_other_core!();
99
|
1010
= note: this error originates in the macro `define_other_core` (in Nightly builds, run with -Z macro-backtrace for more info)
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

src/tools/clippy/tests/ui/crashes/ice-6256.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ LL | let f = |x: &dyn TT| x.func();
99
| | let's call the lifetime of this reference `'1`
1010
| `x` is a reference that is only valid in the closure body
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

1414
For more information about this error, try `rustc --explain E0521`.

src/tools/clippy/tests/ui/crashes/ice-7169.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | if let Ok(_) = Ok::<_, ()>(A::<String>::default()) {}
77
= note: `-D clippy::redundant-pattern-matching` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::redundant_pattern_matching)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui/crashes/ice-7868.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ LL | unsafe { 0 };
88
= note: `-D clippy::undocumented-unsafe-blocks` implied by `-D warnings`
99
= help: to override `-D warnings` add `#[allow(clippy::undocumented_unsafe_blocks)]`
1010

11-
error: aborting due to previous error
11+
error: aborting due to 1 previous error
1212

src/tools/clippy/tests/ui/crashes/ice-7869.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ LL | | }
1313
= note: `-D clippy::enum-variant-names` implied by `-D warnings`
1414
= help: to override `-D warnings` add `#[allow(clippy::enum_variant_names)]`
1515

16-
error: aborting due to previous error
16+
error: aborting due to 1 previous error
1717

src/tools/clippy/tests/ui/crashes/ice-8250.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let _ = s[1..].splitn(2, '.').next()?;
77
= note: `-D clippy::needless-splitn` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::needless_splitn)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui/crashes/ice-8821.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | let _: () = FN();
77
= note: `-D clippy::let-unit-value` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::let_unit_value)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui/crashes/ice-9041.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ LL | things.iter().find(|p| is_thing_ready(p)).is_some()
77
= note: `-D clippy::search-is-some` implied by `-D warnings`
88
= help: to override `-D warnings` add `#[allow(clippy::search_is_some)]`
99

10-
error: aborting due to previous error
10+
error: aborting due to 1 previous error
1111

src/tools/clippy/tests/ui/crashes/ice-9445.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ LL | const UNINIT: core::mem::MaybeUninit<core::cell::Cell<&'static ()>> = core:
99
= note: `-D clippy::declare-interior-mutable-const` implied by `-D warnings`
1010
= help: to override `-D warnings` add `#[allow(clippy::declare_interior_mutable_const)]`
1111

12-
error: aborting due to previous error
12+
error: aborting due to 1 previous error
1313

src/tools/clippy/tests/ui/crashes/ice-96721.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ error: malformed `path` attribute input
44
LL | #[path = foo!()]
55
| ^^^^^^^^^^^^^^^^ help: must be of the form: `#[path = "file"]`
66

7-
error: aborting due to previous error
7+
error: aborting due to 1 previous error
88

src/tools/clippy/tests/ui/crashes/needless_lifetimes_impl_trait.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ LL - fn baz<'a>(&'a self) -> impl Foo + 'a {
1515
LL + fn baz(&self) -> impl Foo + '_ {
1616
|
1717

18-
error: aborting due to previous error
18+
error: aborting due to 1 previous error
1919

src/tools/clippy/tests/ui/crashes/needless_pass_by_value-w-late-bound.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ LL | struct Foo<'a>(&'a [(); 100]);
1212
= note: `-D clippy::needless-pass-by-value` implied by `-D warnings`
1313
= help: to override `-D warnings` add `#[allow(clippy::needless_pass_by_value)]`
1414

15-
error: aborting due to previous error
15+
error: aborting due to 1 previous error
1616

0 commit comments

Comments
 (0)