@@ -4,97 +4,128 @@ error: assert without any message
44LL | assert!(foo());
55 | ^^^^^^^^^^^^^^
66 |
7+ = help: consider describing why the failing assert is problematic
78 = note: `-D clippy::missing-assert-message` implied by `-D warnings`
89
910error: assert without any message
1011 --> $DIR/missing_assert_message.rs:15:5
1112 |
1213LL | assert_eq!(foo(), foo());
1314 | ^^^^^^^^^^^^^^^^^^^^^^^^
15+ |
16+ = help: consider describing why the failing assert is problematic
1417
1518error: assert without any message
1619 --> $DIR/missing_assert_message.rs:16:5
1720 |
1821LL | assert_ne!(foo(), foo());
1922 | ^^^^^^^^^^^^^^^^^^^^^^^^
23+ |
24+ = help: consider describing why the failing assert is problematic
2025
2126error: assert without any message
2227 --> $DIR/missing_assert_message.rs:17:5
2328 |
2429LL | debug_assert!(foo());
2530 | ^^^^^^^^^^^^^^^^^^^^
31+ |
32+ = help: consider describing why the failing assert is problematic
2633
2734error: assert without any message
2835 --> $DIR/missing_assert_message.rs:18:5
2936 |
3037LL | debug_assert_eq!(foo(), foo());
3138 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39+ |
40+ = help: consider describing why the failing assert is problematic
3241
3342error: assert without any message
3443 --> $DIR/missing_assert_message.rs:19:5
3544 |
3645LL | debug_assert_ne!(foo(), foo());
3746 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47+ |
48+ = help: consider describing why the failing assert is problematic
3849
3950error: assert without any message
4051 --> $DIR/missing_assert_message.rs:24:5
4152 |
4253LL | assert!(bar!(true));
4354 | ^^^^^^^^^^^^^^^^^^^
55+ |
56+ = help: consider describing why the failing assert is problematic
4457
4558error: assert without any message
4659 --> $DIR/missing_assert_message.rs:25:5
4760 |
4861LL | assert!(bar!(true, false));
4962 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
63+ |
64+ = help: consider describing why the failing assert is problematic
5065
5166error: assert without any message
5267 --> $DIR/missing_assert_message.rs:26:5
5368 |
5469LL | assert_eq!(bar!(true), foo());
5570 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71+ |
72+ = help: consider describing why the failing assert is problematic
5673
5774error: assert without any message
5875 --> $DIR/missing_assert_message.rs:27:5
5976 |
6077LL | assert_ne!(bar!(true, true), bar!(true));
6178 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79+ |
80+ = help: consider describing why the failing assert is problematic
6281
6382error: assert without any message
6483 --> $DIR/missing_assert_message.rs:32:5
6584 |
6685LL | assert!(foo(),);
6786 | ^^^^^^^^^^^^^^^
87+ |
88+ = help: consider describing why the failing assert is problematic
6889
6990error: assert without any message
7091 --> $DIR/missing_assert_message.rs:33:5
7192 |
7293LL | assert_eq!(foo(), foo(),);
7394 | ^^^^^^^^^^^^^^^^^^^^^^^^^
95+ |
96+ = help: consider describing why the failing assert is problematic
7497
7598error: assert without any message
7699 --> $DIR/missing_assert_message.rs:34:5
77100 |
78101LL | assert_ne!(foo(), foo(),);
79102 | ^^^^^^^^^^^^^^^^^^^^^^^^^
103+ |
104+ = help: consider describing why the failing assert is problematic
80105
81106error: assert without any message
82107 --> $DIR/missing_assert_message.rs:35:5
83108 |
84109LL | debug_assert!(foo(),);
85110 | ^^^^^^^^^^^^^^^^^^^^^
111+ |
112+ = help: consider describing why the failing assert is problematic
86113
87114error: assert without any message
88115 --> $DIR/missing_assert_message.rs:36:5
89116 |
90117LL | debug_assert_eq!(foo(), foo(),);
91118 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
119+ |
120+ = help: consider describing why the failing assert is problematic
92121
93122error: assert without any message
94123 --> $DIR/missing_assert_message.rs:37:5
95124 |
96125LL | debug_assert_ne!(foo(), foo(),);
97126 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127+ |
128+ = help: consider describing why the failing assert is problematic
98129
99130error: aborting due to 16 previous errors
100131
0 commit comments