Skip to content

Commit 4f21b5b

Browse files
committed
Update changed ui tests
1 parent 3c4f5bf commit 4f21b5b

File tree

167 files changed

+335
-1
lines changed

Some content is hidden

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

167 files changed

+335
-1
lines changed

tests/compile-test.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ fn config(dir: &'static str, mode: &'static str) -> compiletest::Config {
4646
config.target_rustcflags = Some(format!("-L {0} -L {0}/deps -Dwarnings", host_libs().display()));
4747

4848
config.mode = cfg_mode;
49-
config.build_base = {
49+
config.build_base = if rustc_test_suite().is_some() {
50+
PathBuf::from("/tmp/clippy_test_build_base")
51+
} else {
5052
let mut path = std::env::current_dir().unwrap();
5153
path.push("target/debug/test_build_base");
5254
path

tests/ui/absurd-extreme-comparisons.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,5 @@ error: <-comparison of unit values detected. This will always be false
143143
|
144144
= note: `-D unit-cmp` implied by `-D warnings`
145145

146+
error: aborting due to 18 previous errors
147+

tests/ui/approx_const.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,5 @@ error: approximate value of `f{32, 64}::consts::SQRT_2` found. Consider using it
114114
55 | let my_sq2 = 1.4142;
115115
| ^^^^^^
116116

117+
error: aborting due to 19 previous errors
118+

tests/ui/arithmetic.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,5 @@ error: floating-point arithmetic detected
6969
29 | -f;
7070
| ^^
7171

72+
error: aborting due to 11 previous errors
73+

tests/ui/array_indexing.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,5 @@ error: range is out of bounds
116116
44 | &empty[..4];
117117
| ^^^^^^^^^^
118118

119+
error: aborting due to 19 previous errors
120+

tests/ui/assign_ops.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,3 +134,5 @@ error: manual implementation of an assign operation
134134
40 | s = s + "bla";
135135
| ^^^^^^^^^^^^^ help: replace it with: `s += "bla"`
136136

137+
error: aborting due to 22 previous errors
138+

tests/ui/assign_ops2.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ error: variable appears on both sides of an assignment operation
4848
15 | a &= a & 1;
4949
| ^^^^^^^^^^ help: replace it with: `a &= 1`
5050

51+
error: aborting due to 8 previous errors
52+

tests/ui/attrs.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ error: the since field must contain a semver-compliant version
2020
30 | #[deprecated(since = "1")]
2121
| ^^^^^^^^^^^
2222

23+
error: aborting due to 3 previous errors
24+

tests/ui/bit_masks.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,5 @@ error: ineffective bit mask: `x | 1` compared to `8`, is the same as x compared
106106
55 | x | 1 >= 8;
107107
| ^^^^^^^^^^
108108

109+
error: aborting due to 17 previous errors
110+

tests/ui/blacklisted_name.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ error: use of a blacklisted/placeholder name `baz`
8484
35 | if let Some(ref mut baz) = Some(42) {}
8585
| ^^^
8686

87+
error: aborting due to 14 previous errors
88+

tests/ui/block_in_if_condition.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,5 @@ error: this boolean expression can be simplified
5050
|
5151
= note: `-D nonminimal-bool` implied by `-D warnings`
5252

53+
error: aborting due to 5 previous errors
54+

tests/ui/bool_comparison.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ error: equality checks against false can be replaced by a negation
2424
10 | if false == x { "yes" } else { "no" };
2525
| ^^^^^^^^^^ help: try simplifying it as shown: `!x`
2626

27+
error: aborting due to 4 previous errors
28+

tests/ui/booleans.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,5 @@ error: this boolean expression can be simplified
175175
58 | let _ = !c ^ c || !a.is_some();
176176
| ^^^^^^^^^^^^^^^^^^^^^^ help: try: `!c ^ c || a.is_none()`
177177

178+
error: aborting due to 21 previous errors
179+

tests/ui/borrow_box.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ error: you seem to be trying to use `&Box<T>`. Consider using just `&T`
2828
22 | fn test4(a: &Box<bool>);
2929
| ^^^^^^^^^^ help: try: `&bool`
3030

31+
error: aborting due to 4 previous errors
32+

tests/ui/box_vec.stderr

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

10+
error: aborting due to previous error
11+

tests/ui/builtin-type-shadow.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ error[E0308]: mismatched types
1717
= note: expected type `u32`
1818
found type `{integer}`
1919

20+
error: aborting due to 2 previous errors
21+

tests/ui/bytecount.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ error: You appear to be counting bytes the naive way
2222
22 | let _ = x.iter().filter(|a| b + 1 == **a).count(); // naive byte count
2323
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: Consider using the bytecount crate: `bytecount::count(x, b + 1)`
2424

25+
error: aborting due to 3 previous errors
26+

tests/ui/cast.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,3 +178,5 @@ error: casting to the same type is unnecessary (`bool` -> `bool`)
178178
39 | false as bool;
179179
| ^^^^^^^^^^^^^
180180

181+
error: aborting due to 28 previous errors
182+

tests/ui/cast_lossless_float.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,5 @@ error: casting u32 to f64 may become silently lossy if types change
6060
14 | 1u32 as f64;
6161
| ^^^^^^^^^^^ help: try: `f64::from(1u32)`
6262

63+
error: aborting due to 10 previous errors
64+

tests/ui/cast_lossless_integer.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,5 @@ error: casting u32 to u64 may become silently lossy if types change
108108
23 | 1u32 as u64;
109109
| ^^^^^^^^^^^ help: try: `u64::from(1u32)`
110110

111+
error: aborting due to 18 previous errors
112+

tests/ui/cast_size.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,5 @@ error: casting i32 to usize may lose the sign of the value
120120
22 | 1i32 as usize;
121121
| ^^^^^^^^^^^^^
122122

123+
error: aborting due to 19 previous errors
124+

tests/ui/char_lit_as_u8.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ error: casting character literal to u8. `char`s are 4 bytes wide in rust, so cas
88
= help: Consider using a byte literal instead:
99
b'a'
1010

11+
error: aborting due to previous error
12+

tests/ui/cmp_nan.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,5 @@ error: doomed comparison with NAN, use `std::{f32,f64}::is_nan()` instead
7272
21 | y >= std::f64::NAN;
7373
| ^^^^^^^^^^^^^^^^^^
7474

75+
error: aborting due to 12 previous errors
76+

tests/ui/cmp_null.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ error: Comparing with null is better expressed by the .is_null() method
1212
16 | if m == ptr::null_mut() {
1313
| ^^^^^^^^^^^^^^^^^^^^
1414

15+
error: aborting due to 2 previous errors
16+

tests/ui/cmp_owned.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ error: this creates an owned instance just for comparison
3636
30 | self.to_owned() == *other
3737
| ^^^^^^^^^^^^^^^ try calling implementing the comparison without allocating
3838

39+
error: aborting due to 6 previous errors
40+

tests/ui/collapsible_if.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,3 +240,5 @@ help: try
240240
112 | }
241241
|
242242

243+
error: aborting due to 13 previous errors
244+

tests/ui/complex_types.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,5 @@ error: very complex type used. Consider factoring parts into `type` definitions
9090
40 | let _y: Vec<Vec<Box<(u32, u32, u32, u32)>>> = vec![];
9191
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9292

93+
error: aborting due to 15 previous errors
94+

tests/ui/conf_bad_arg.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error[E0658]: compiler plugins are experimental and possibly buggy (see issue #2
66
|
77
= help: add #![feature(plugin)] to the crate attributes to enable
88

9+
error: aborting due to previous error
10+

tests/ui/conf_bad_toml.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error[E0658]: compiler plugins are experimental and possibly buggy (see issue #2
66
|
77
= help: add #![feature(plugin)] to the crate attributes to enable
88

9+
error: aborting due to previous error
10+

tests/ui/conf_bad_type.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error[E0658]: compiler plugins are experimental and possibly buggy (see issue #2
66
|
77
= help: add #![feature(plugin)] to the crate attributes to enable
88

9+
error: aborting due to previous error
10+

tests/ui/conf_french_blacklisted_name.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error[E0658]: compiler plugins are experimental and possibly buggy (see issue #2
66
|
77
= help: add #![feature(plugin)] to the crate attributes to enable
88

9+
error: aborting due to previous error
10+

tests/ui/conf_path_non_string.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error[E0658]: compiler plugins are experimental and possibly buggy (see issue #2
66
|
77
= help: add #![feature(plugin)] to the crate attributes to enable
88

9+
error: aborting due to previous error
10+

tests/ui/conf_unknown_key.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error[E0658]: compiler plugins are experimental and possibly buggy (see issue #2
66
|
77
= help: add #![feature(plugin)] to the crate attributes to enable
88

9+
error: aborting due to previous error
10+

tests/ui/const_static_lifetime.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,5 @@ error: Constants have by default a `'static` lifetime
7878
24 | const VAR_ARRAY: &'static [u8; 1] = b"T"; // ERROR Consider removing 'static.
7979
| -^^^^^^^-------- help: consider removing `'static`: `&[u8; 1]`
8080

81+
error: aborting due to 13 previous errors
82+

tests/ui/copies.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,5 @@ error: This else block is redundant.
3333
}
3434

3535

36+
error: aborting due to 2 previous errors
37+

tests/ui/cstring.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ help: assign the `CString` to a variable to extend its lifetime
1212
7 | CString::new("foo").unwrap().as_ptr();
1313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1414

15+
error: aborting due to previous error
16+

tests/ui/cyclomatic_complexity.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,3 +269,5 @@ error: the function has a cyclomatic complexity of 8
269269
|
270270
= help: you could split it up into multiple smaller functions
271271

272+
error: aborting due to 20 previous errors
273+

tests/ui/cyclomatic_complexity_attr_used.stderr

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

16+
error: aborting due to previous error
17+

tests/ui/deprecated.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ error: lint unstable_as_mut_slice has been removed: `Vec::as_mut_slice` has been
2424
10 | #[warn(unstable_as_mut_slice)]
2525
| ^^^^^^^^^^^^^^^^^^^^^
2626

27+
error: aborting due to 4 previous errors
28+

tests/ui/derive.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,5 @@ note: consider deriving `Clone` or removing `Copy`
106106
87 | | }
107107
| |_^
108108

109+
error: aborting due to 7 previous errors
110+

tests/ui/diverging_sub_expression.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ error: sub-expression diverges
3636
37 | _ => true || break,
3737
| ^^^^^
3838

39+
error: aborting due to 6 previous errors
40+

tests/ui/dlist.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ error: I see you're using a LinkedList! Perhaps you meant some other data struct
4747
|
4848
= help: a VecDeque might work
4949

50+
error: aborting due to 6 previous errors
51+

tests/ui/doc.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,5 @@ error: you should put bare URLs between `<`/`>` or make a proper Markdown link
180180
168 | /// Not ok: http://www.unicode.org/reports/tr9/#Reordering_Resolved_Levels
181181
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182182

183+
error: aborting due to 30 previous errors
184+

tests/ui/double_neg.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error: `--x` could be misinterpreted as pre-decrement by C programmers, is usual
66
|
77
= note: `-D double-neg` implied by `-D warnings`
88

9+
error: aborting due to previous error
10+

tests/ui/double_parens.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ error: Consider removing unnecessary double parentheses
3030
32 | (())
3131
| ^^^^
3232

33+
error: aborting due to 5 previous errors
34+

tests/ui/drop_forget_copy.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,5 @@ note: argument has type SomeStruct
7272
42 | forget(s4);
7373
| ^^
7474

75+
error: aborting due to 6 previous errors
76+

tests/ui/drop_forget_ref.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,3 +216,5 @@ note: argument has type &SomeStruct
216216
59 | std::mem::forget(&SomeStruct);
217217
| ^^^^^^^^^^^
218218

219+
error: aborting due to 18 previous errors
220+

tests/ui/duplicate_underscore_argument.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error: `darth` already exists, having another argument having almost the same na
66
|
77
= note: `-D duplicate-underscore-argument` implied by `-D warnings`
88

9+
error: aborting due to previous error
10+

tests/ui/else_if_without_else.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ error: if expression with an `else if`, but without a final `else`
1818
49 | | }
1919
| |_____^ help: add an `else` block here
2020

21+
error: aborting due to 2 previous errors
22+

tests/ui/empty_enum.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ help: consider using the uninhabited type `!` or a wrapper around it
1111
7 | enum Empty {}
1212
| ^^^^^^^^^^^^^
1313

14+
error: aborting due to previous error
15+

tests/ui/entry.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,5 @@ error: usage of `contains_key` followed by `insert` on a `BTreeMap`
4242
37 | if !m.contains_key(&k) { foo(); m.insert(k, v) } else { None };
4343
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using: `m.entry(k)`
4444

45+
error: aborting due to 7 previous errors
46+

tests/ui/enum_glob_use.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ error: don't use glob imports for enum variants
1212
12 | use self::Enum::*;
1313
| ^^^^^^^^^^^^^^^^^^
1414

15+
error: aborting due to 2 previous errors
16+

tests/ui/enum_variants.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,5 @@ error: All variants have the same prefix: `With`
9797
= note: `-D pub-enum-variant-names` implied by `-D warnings`
9898
= help: remove the prefixes and use full paths to the variants instead of glob imports
9999

100+
error: aborting due to 10 previous errors
101+

tests/ui/enums_clike.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,3 +48,5 @@ error: Clike enum variant discriminant is not portable to 32-bit targets
4848
37 | A = 0x1_0000_0000,
4949
| ^^^^^^^^^^^^^^^^^
5050

51+
error: aborting due to 8 previous errors
52+

tests/ui/eq_op.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,3 +204,5 @@ error: taken reference of right operand
204204
|
205205
= note: `-D op-ref` implied by `-D warnings`
206206

207+
error: aborting due to 33 previous errors
208+

tests/ui/erasing_op.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ error: this operation will always return zero. This is likely not the intended o
1818
11 | 0 / x;
1919
| ^^^^^
2020

21+
error: aborting due to 3 previous errors
22+

tests/ui/eta.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ error: redundant closure found
3232
18 | let e = Some(1u8).map(|a| generic(a));
3333
| ^^^^^^^^^^^^^^ help: remove closure as shown: `generic`
3434

35+
error: aborting due to 5 previous errors
36+

tests/ui/eval_order_dependence.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,5 @@ note: whether read occurs before this write depends on evaluation order
4747
21 | x += { x = 20; 2 };
4848
| ^^^^^^
4949

50+
error: aborting due to 4 previous errors
51+

tests/ui/explicit_write.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ error: use of `stderr().write_fmt(...).unwrap()`. Consider using `eprint!` inste
3636
21 | std::io::stderr().write_fmt(format_args!("test")).unwrap();
3737
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3838

39+
error: aborting due to 6 previous errors
40+

tests/ui/fallible_impl_from.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,5 @@ note: potential failure(s)
8989
| ^^^^^^^^^^^^^^^^^^
9090
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
9191

92+
error: aborting due to 4 previous errors
93+

tests/ui/filter_methods.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ error: called `filter_map(p).map(q)` on an `Iterator`. This is more succinctly e
3636
25 | | .map(|x| x.checked_mul(2))
3737
| |__________________________________________________________^
3838

39+
error: aborting due to 4 previous errors
40+

tests/ui/float_cmp.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,5 @@ note: std::f32::EPSILON and std::f64::EPSILON are available.
9595
57 | twice(x) != twice(ONE as f64);
9696
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9797

98+
error: aborting due to 8 previous errors
99+

tests/ui/float_cmp_const.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,5 @@ note: std::f32::EPSILON and std::f64::EPSILON are available.
8383
25 | v != ONE;
8484
| ^^^^^^^^
8585

86+
error: aborting due to 7 previous errors
87+

tests/ui/for_loop.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,3 +565,5 @@ error: it looks like you're manually copying between slices
565565
549 | | }
566566
| |_____^ help: try replacing the loop by: `dst[..src.len()].clone_from_slice(&src[..])`
567567

568+
error: aborting due to 59 previous errors
569+

tests/ui/format.stderr

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ error: useless use of `format!`
66
|
77
= note: `-D useless-format` implied by `-D warnings`
88

9+
error: aborting due to previous error
10+

0 commit comments

Comments
 (0)