Skip to content

Commit 88359a1

Browse files
committed
Update *.stderr file
1 parent 834ad76 commit 88359a1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

tests/ui/assertions_on_constants.stderr

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
error: assert!(true) will be optimized out by the compiler
1+
error: `assert!(true)` will be optimized out by the compiler
22
--> $DIR/assertions_on_constants.rs:9:5
33
|
44
LL | assert!(true);
@@ -7,47 +7,47 @@ LL | assert!(true);
77
= note: `-D clippy::assertions-on-constants` implied by `-D warnings`
88
= help: remove it
99

10-
error: assert!(false) should probably be replaced
10+
error: `assert!(false)` should probably be replaced
1111
--> $DIR/assertions_on_constants.rs:10:5
1212
|
1313
LL | assert!(false);
1414
| ^^^^^^^^^^^^^^^
1515
|
16-
= help: use panic!() or unreachable!()
16+
= help: use `panic!()` or `unreachable!()`
1717

18-
error: assert!(true) will be optimized out by the compiler
18+
error: `assert!(true)` will be optimized out by the compiler
1919
--> $DIR/assertions_on_constants.rs:11:5
2020
|
2121
LL | assert!(true, "true message");
2222
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2323
|
2424
= help: remove it
2525

26-
error: assert!(false) should probably be replaced
26+
error: `assert!(false)` should probably be replaced
2727
--> $DIR/assertions_on_constants.rs:12:5
2828
|
2929
LL | assert!(false, "false message");
3030
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3131
|
32-
= help: use panic!() or unreachable!()
32+
= help: use `panic!()` or `unreachable!()`
3333

34-
error: assert!(const: true) will be optimized out by the compiler
34+
error: `assert!(true)` will be optimized out by the compiler
3535
--> $DIR/assertions_on_constants.rs:15:5
3636
|
3737
LL | assert!(B);
3838
| ^^^^^^^^^^^
3939
|
4040
= help: remove it
4141

42-
error: assert!(const: false) should probably be replaced
42+
error: `assert!(false)` should probably be replaced
4343
--> $DIR/assertions_on_constants.rs:18:5
4444
|
4545
LL | assert!(C);
4646
| ^^^^^^^^^^^
4747
|
48-
= help: use panic!() or unreachable!()
48+
= help: use `panic!()` or `unreachable!()`
4949

50-
error: assert!(true) will be optimized out by the compiler
50+
error: `assert!(true)` will be optimized out by the compiler
5151
--> $DIR/assertions_on_constants.rs:20:5
5252
|
5353
LL | debug_assert!(true);

0 commit comments

Comments
 (0)