Update *.stderr file

This commit is contained in:
flip1995 2019-04-18 12:05:09 +02:00
parent 834ad76806
commit 88359a136f
No known key found for this signature in database
GPG Key ID: 01C836B640FFDFB1

View File

@ -1,4 +1,4 @@
error: assert!(true) will be optimized out by the compiler
error: `assert!(true)` will be optimized out by the compiler
--> $DIR/assertions_on_constants.rs:9:5
|
LL | assert!(true);
@ -7,15 +7,15 @@ LL | assert!(true);
= note: `-D clippy::assertions-on-constants` implied by `-D warnings`
= help: remove it
error: assert!(false) should probably be replaced
error: `assert!(false)` should probably be replaced
--> $DIR/assertions_on_constants.rs:10:5
|
LL | assert!(false);
| ^^^^^^^^^^^^^^^
|
= help: use panic!() or unreachable!()
= help: use `panic!()` or `unreachable!()`
error: assert!(true) will be optimized out by the compiler
error: `assert!(true)` will be optimized out by the compiler
--> $DIR/assertions_on_constants.rs:11:5
|
LL | assert!(true, "true message");
@ -23,15 +23,15 @@ LL | assert!(true, "true message");
|
= help: remove it
error: assert!(false) should probably be replaced
error: `assert!(false)` should probably be replaced
--> $DIR/assertions_on_constants.rs:12:5
|
LL | assert!(false, "false message");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use panic!() or unreachable!()
= help: use `panic!()` or `unreachable!()`
error: assert!(const: true) will be optimized out by the compiler
error: `assert!(true)` will be optimized out by the compiler
--> $DIR/assertions_on_constants.rs:15:5
|
LL | assert!(B);
@ -39,15 +39,15 @@ LL | assert!(B);
|
= help: remove it
error: assert!(const: false) should probably be replaced
error: `assert!(false)` should probably be replaced
--> $DIR/assertions_on_constants.rs:18:5
|
LL | assert!(C);
| ^^^^^^^^^^^
|
= help: use panic!() or unreachable!()
= help: use `panic!()` or `unreachable!()`
error: assert!(true) will be optimized out by the compiler
error: `assert!(true)` will be optimized out by the compiler
--> $DIR/assertions_on_constants.rs:20:5
|
LL | debug_assert!(true);