@@ -33,63 +33,63 @@ LL | assert!(false, "false message");
33
33
= help: use `panic!(..)` or `unreachable!(..)`
34
34
35
35
error: `assert!(false, ..)` should probably be replaced
36
- --> tests/ui/assertions_on_constants.rs:24 :5
36
+ --> tests/ui/assertions_on_constants.rs:23 :5
37
37
|
38
38
LL | assert!(false, "{}", msg.to_uppercase());
39
39
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
40
40
|
41
41
= help: use `panic!(..)` or `unreachable!(..)`
42
42
43
43
error: `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
45
45
|
46
46
LL | assert!(B);
47
47
| ^^^^^^^^^^
48
48
|
49
49
= help: remove it
50
50
51
51
error: `assert!(false)` should probably be replaced
52
- --> tests/ui/assertions_on_constants.rs:34 :5
52
+ --> tests/ui/assertions_on_constants.rs:31 :5
53
53
|
54
54
LL | assert!(C);
55
55
| ^^^^^^^^^^
56
56
|
57
57
= help: use `panic!()` or `unreachable!()`
58
58
59
59
error: `assert!(false, ..)` should probably be replaced
60
- --> tests/ui/assertions_on_constants.rs:37 :5
60
+ --> tests/ui/assertions_on_constants.rs:34 :5
61
61
|
62
62
LL | assert!(C, "C message");
63
63
| ^^^^^^^^^^^^^^^^^^^^^^^
64
64
|
65
65
= help: use `panic!(..)` or `unreachable!(..)`
66
66
67
67
error: `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
69
69
|
70
70
LL | debug_assert!(true);
71
71
| ^^^^^^^^^^^^^^^^^^^
72
72
|
73
73
= help: remove it
74
74
75
75
error: `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
77
77
|
78
78
LL | const _: () = assert!(true);
79
79
| ^^^^^^^^^^^^^
80
80
|
81
81
= help: remove it
82
82
83
83
error: `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
85
85
|
86
86
LL | assert!(8 == (7 + 1));
87
87
| ^^^^^^^^^^^^^^^^^^^^^
88
88
|
89
89
= help: remove it
90
90
91
91
error: `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
93
93
|
94
94
LL | assert!(true);
95
95
| ^^^^^^^^^^^^^
0 commit comments