Skip to content

Commit a124642

Browse files
committed
Updating *.stderr files
1 parent ffa64de commit a124642

File tree

192 files changed

+2311
-2246
lines changed

Some content is hidden

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

192 files changed

+2311
-2246
lines changed

tests/ui/absurd-extreme-comparisons.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: this comparison involving the minimum or maximum element for this type co
44
10 | u <= 0;
55
| ^^^^^^
66
|
7-
= note: `-D absurd-extreme-comparisons` implied by `-D warnings`
7+
= note: `-D clippy::absurd-extreme-comparisons` implied by `-D warnings`
88
= help: because 0 is the minimum value for this type, the case where the two sides are not equal never occurs, consider using u == 0 instead
99

1010
error: this comparison involving the minimum or maximum element for this type contains a case that is always true or always false
@@ -141,7 +141,7 @@ error: <-comparison of unit values detected. This will always be false
141141
31 | () < {};
142142
| ^^^^^^^
143143
|
144-
= note: #[deny(unit_cmp)] on by default
144+
= note: #[deny(clippy::unit_cmp)] on by default
145145

146146
error: aborting due to 18 previous errors
147147

tests/ui/approx_const.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: approximate value of `f{32, 64}::consts::E` found. Consider using it dire
44
7 | let my_e = 2.7182;
55
| ^^^^^^
66
|
7-
= note: `-D approx-constant` implied by `-D warnings`
7+
= note: `-D clippy::approx-constant` implied by `-D warnings`
88

99
error: approximate value of `f{32, 64}::consts::E` found. Consider using it directly
1010
--> $DIR/approx_const.rs:8:20

tests/ui/arithmetic.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: integer arithmetic detected
44
8 | 1 + i;
55
| ^^^^^
66
|
7-
= note: `-D integer-arithmetic` implied by `-D warnings`
7+
= note: `-D clippy::integer-arithmetic` implied by `-D warnings`
88

99
error: integer arithmetic detected
1010
--> $DIR/arithmetic.rs:9:5
@@ -37,7 +37,7 @@ error: floating-point arithmetic detected
3737
23 | f * 2.0;
3838
| ^^^^^^^
3939
|
40-
= note: `-D float-arithmetic` implied by `-D warnings`
40+
= note: `-D clippy::float-arithmetic` implied by `-D warnings`
4141

4242
error: floating-point arithmetic detected
4343
--> $DIR/arithmetic.rs:25:5

tests/ui/assign_ops.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: assign operation detected
44
8 | i += 2;
55
| ^^^^^^ help: replace it with: `i = i + 2`
66
|
7-
= note: `-D assign-ops` implied by `-D warnings`
7+
= note: `-D clippy::assign-ops` implied by `-D warnings`
88

99
error: assign operation detected
1010
--> $DIR/assign_ops.rs:9:5
@@ -84,7 +84,7 @@ error: manual implementation of an assign operation
8484
27 | a = a + 1;
8585
| ^^^^^^^^^ help: replace it with: `a += 1`
8686
|
87-
= note: `-D assign-op-pattern` implied by `-D warnings`
87+
= note: `-D clippy::assign-op-pattern` implied by `-D warnings`
8888

8989
error: manual implementation of an assign operation
9090
--> $DIR/assign_ops.rs:28:5

tests/ui/assign_ops2.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: variable appears on both sides of an assignment operation
44
8 | a += a + 1;
55
| ^^^^^^^^^^
66
|
7-
= note: `-D misrefactored-assign-op` implied by `-D warnings`
7+
= note: `-D clippy::misrefactored-assign-op` implied by `-D warnings`
88
help: Did you mean a = a + 1 or a = a + a + 1? Consider replacing it with
99
|
1010
8 | a += 1;

tests/ui/attrs.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ error: you have declared `#[inline(always)]` on `test_attr_lint`. This is usuall
44
6 | #[inline(always)]
55
| ^^^^^^^^^^^^^^^^^
66
|
7-
= note: `-D inline-always` implied by `-D warnings`
7+
= note: `-D clippy::inline-always` implied by `-D warnings`
88

99
error: the since field must contain a semver-compliant version
1010
--> $DIR/attrs.rs:27:14
1111
|
1212
27 | #[deprecated(since = "forever")]
1313
| ^^^^^^^^^^^^^^^^^
1414
|
15-
= note: `-D deprecated-semver` implied by `-D warnings`
15+
= note: `-D clippy::deprecated-semver` implied by `-D warnings`
1616

1717
error: the since field must contain a semver-compliant version
1818
--> $DIR/attrs.rs:30:14

tests/ui/author/matches.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: returning the result of a let binding from a block. Consider returning th
44
9 | x
55
| ^
66
|
7-
= note: `-D let-and-return` implied by `-D warnings`
7+
= note: `-D clippy::let-and-return` implied by `-D warnings`
88
note: this expression can be directly returned
99
--> $DIR/matches.rs:8:21
1010
|

tests/ui/bit_masks.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ error: &-masking with zero
44
12 | x & 0 == 0;
55
| ^^^^^^^^^^
66
|
7-
= note: `-D bad-bit-mask` implied by `-D warnings`
7+
= note: `-D clippy::bad-bit-mask` implied by `-D warnings`
88

99
error: this operation will always return zero. This is likely not the intended outcome
1010
--> $DIR/bit_masks.rs:12:5
1111
|
1212
12 | x & 0 == 0;
1313
| ^^^^^
1414
|
15-
= note: #[deny(erasing_op)] on by default
15+
= note: #[deny(clippy::erasing_op)] on by default
1616

1717
error: incompatible bit mask: `_ & 2` can never be equal to `1`
1818
--> $DIR/bit_masks.rs:15:5
@@ -86,7 +86,7 @@ error: ineffective bit mask: `x | 1` compared to `3`, is the same as x compared
8686
52 | x | 1 > 3;
8787
| ^^^^^^^^^
8888
|
89-
= note: `-D ineffective-bit-mask` implied by `-D warnings`
89+
= note: `-D clippy::ineffective-bit-mask` implied by `-D warnings`
9090

9191
error: ineffective bit mask: `x | 1` compared to `4`, is the same as x compared directly
9292
--> $DIR/bit_masks.rs:53:5

tests/ui/blacklisted_name.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ error: use of a blacklisted/placeholder name `foo`
44
7 | fn test(foo: ()) {}
55
| ^^^
66
|
7-
= note: `-D blacklisted-name` implied by `-D warnings`
7+
= note: `-D clippy::blacklisted-name` implied by `-D warnings`
88

99
error: use of a blacklisted/placeholder name `foo`
1010
--> $DIR/blacklisted_name.rs:10:9

tests/ui/block_in_if_condition.stderr

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ error: in an 'if' condition, avoid complex blocks or closures with blocks; inste
88
33 | | } {
99
| |_____^
1010
|
11-
= note: `-D block-in-if-condition-stmt` implied by `-D warnings`
11+
= note: `-D clippy::block-in-if-condition-stmt` implied by `-D warnings`
1212
= help: try
1313
let res = {
1414
let x = 3;
@@ -24,7 +24,7 @@ error: omit braces around single expression condition
2424
41 | if { true } {
2525
| ^^^^^^^^
2626
|
27-
= note: `-D block-in-if-condition-expr` implied by `-D warnings`
27+
= note: `-D clippy::block-in-if-condition-expr` implied by `-D warnings`
2828
= help: try
2929
if true {
3030
6
@@ -48,7 +48,7 @@ error: this boolean expression can be simplified
4848
67 | if true && x == 3 {
4949
| ^^^^^^^^^^^^^^ help: try: `x == 3`
5050
|
51-
= note: `-D nonminimal-bool` implied by `-D warnings`
51+
= note: `-D clippy::nonminimal-bool` implied by `-D warnings`
5252

5353
error: aborting due to 5 previous errors
5454

0 commit comments

Comments
 (0)