1 error: `assert!(true)` will be optimized out by the compiler
2 --> $DIR/assertions_on_constants.rs:9:5
7 = note: `-D clippy::assertions-on-constants` implied by `-D warnings`
10 error: `assert!(false)` should probably be replaced
11 --> $DIR/assertions_on_constants.rs:10:5
16 = help: use `panic!()` or `unreachable!()`
18 error: `assert!(true)` will be optimized out by the compiler
19 --> $DIR/assertions_on_constants.rs:11:5
21 LL | assert!(true, "true message");
22 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
26 error: `assert!(false)` should probably be replaced
27 --> $DIR/assertions_on_constants.rs:12:5
29 LL | assert!(false, "false message");
30 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
32 = help: use `panic!()` or `unreachable!()`
34 error: `assert!(true)` will be optimized out by the compiler
35 --> $DIR/assertions_on_constants.rs:15:5
42 error: `assert!(false)` should probably be replaced
43 --> $DIR/assertions_on_constants.rs:18:5
48 = help: use `panic!()` or `unreachable!()`
50 error: `assert!(true)` will be optimized out by the compiler
51 --> $DIR/assertions_on_constants.rs:20:5
53 LL | debug_assert!(true);
54 | ^^^^^^^^^^^^^^^^^^^^
57 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
59 error: aborting due to 7 previous errors