diff options
| author | flip1995 <hello@philkrones.com> | 2019-04-18 12:05:09 +0200 |
|---|---|---|
| committer | flip1995 <hello@philkrones.com> | 2019-04-18 12:05:09 +0200 |
| commit | 88359a136f517f8c828b8b2cdcf18421b0e5abe7 (patch) | |
| tree | dfa7a892fd04e1c133dd9ae6b737c96ebbaaccb1 | |
| parent | 834ad7680642cbf8feac53b264b75a509bb48ed1 (diff) | |
| download | rust-88359a136f517f8c828b8b2cdcf18421b0e5abe7.tar.gz rust-88359a136f517f8c828b8b2cdcf18421b0e5abe7.zip | |
Update *.stderr file
| -rw-r--r-- | tests/ui/assertions_on_constants.stderr | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/ui/assertions_on_constants.stderr b/tests/ui/assertions_on_constants.stderr index adfa326abac..c22da856975 100644 --- a/tests/ui/assertions_on_constants.stderr +++ b/tests/ui/assertions_on_constants.stderr @@ -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); |
