11error: assert!(true) will be optimized out by the compiler
2- --> $DIR/assertions_on_constants.rs:11 :5
2+ --> $DIR/assertions_on_constants.rs:2 :5
33 |
44LL | assert!(true);
55 | ^^^^^^^^^^^^^^
@@ -8,39 +8,39 @@ LL | assert!(true);
88 = help: remove it
99
1010error: assert!(false) should probably be replaced
11- --> $DIR/assertions_on_constants.rs:12 :5
11+ --> $DIR/assertions_on_constants.rs:3 :5
1212 |
1313LL | assert!(false);
1414 | ^^^^^^^^^^^^^^^
1515 |
1616 = help: use panic!() or unreachable!()
1717
1818error: assert!(true) will be optimized out by the compiler
19- --> $DIR/assertions_on_constants.rs:13 :5
19+ --> $DIR/assertions_on_constants.rs:4 :5
2020 |
2121LL | assert!(true, "true message");
2222 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2323 |
2424 = help: remove it
2525
2626error: assert!(false) should probably be replaced
27- --> $DIR/assertions_on_constants.rs:14 :5
27+ --> $DIR/assertions_on_constants.rs:5 :5
2828 |
2929LL | assert!(false, "false message");
3030 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3131 |
3232 = help: use panic!() or unreachable!()
3333
3434error: assert!(const: true) will be optimized out by the compiler
35- --> $DIR/assertions_on_constants.rs:17 :5
35+ --> $DIR/assertions_on_constants.rs:8 :5
3636 |
3737LL | assert!(B);
3838 | ^^^^^^^^^^^
3939 |
4040 = help: remove it
4141
4242error: assert!(const: false) should probably be replaced
43- --> $DIR/assertions_on_constants.rs:20 :5
43+ --> $DIR/assertions_on_constants.rs:11 :5
4444 |
4545LL | assert!(C);
4646 | ^^^^^^^^^^^
0 commit comments