@@ -33,63 +33,63 @@ LL | assert!(false, "false message");
3333 = help: use `panic!(..)` or `unreachable!(..)`
3434
3535error: `assert!(false, ..)` should probably be replaced
36- --> tests/ui/assertions_on_constants.rs:24 :5
36+ --> tests/ui/assertions_on_constants.rs:23 :5
3737 |
3838LL | assert!(false, "{}", msg.to_uppercase());
3939 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4040 |
4141 = help: use `panic!(..)` or `unreachable!(..)`
4242
4343error: `assert!(true)` will be optimized out by the compiler
44- --> tests/ui/assertions_on_constants.rs:29 :5
44+ --> tests/ui/assertions_on_constants.rs:27 :5
4545 |
4646LL | assert!(B);
4747 | ^^^^^^^^^^
4848 |
4949 = help: remove it
5050
5151error: `assert!(false)` should probably be replaced
52- --> tests/ui/assertions_on_constants.rs:34 :5
52+ --> tests/ui/assertions_on_constants.rs:31 :5
5353 |
5454LL | assert!(C);
5555 | ^^^^^^^^^^
5656 |
5757 = help: use `panic!()` or `unreachable!()`
5858
5959error: `assert!(false, ..)` should probably be replaced
60- --> tests/ui/assertions_on_constants.rs:37 :5
60+ --> tests/ui/assertions_on_constants.rs:34 :5
6161 |
6262LL | assert!(C, "C message");
6363 | ^^^^^^^^^^^^^^^^^^^^^^^
6464 |
6565 = help: use `panic!(..)` or `unreachable!(..)`
6666
6767error: `debug_assert!(true)` will be optimized out by the compiler
68- --> tests/ui/assertions_on_constants.rs:41 :5
68+ --> tests/ui/assertions_on_constants.rs:37 :5
6969 |
7070LL | debug_assert!(true);
7171 | ^^^^^^^^^^^^^^^^^^^
7272 |
7373 = help: remove it
7474
7575error: `assert!(true)` will be optimized out by the compiler
76- --> tests/ui/assertions_on_constants.rs:58 :19
76+ --> tests/ui/assertions_on_constants.rs:54 :19
7777 |
7878LL | const _: () = assert!(true);
7979 | ^^^^^^^^^^^^^
8080 |
8181 = help: remove it
8282
8383error: `assert!(true)` will be optimized out by the compiler
84- --> tests/ui/assertions_on_constants.rs:62 :5
84+ --> tests/ui/assertions_on_constants.rs:57 :5
8585 |
8686LL | assert!(8 == (7 + 1));
8787 | ^^^^^^^^^^^^^^^^^^^^^
8888 |
8989 = help: remove it
9090
9191error: `assert!(true)` will be optimized out by the compiler
92- --> tests/ui/assertions_on_constants.rs:72 :5
92+ --> tests/ui/assertions_on_constants.rs:66 :5
9393 |
9494LL | assert!(true);
9595 | ^^^^^^^^^^^^^
0 commit comments