@@ -4,97 +4,128 @@ error: assert without any message
4
4
LL | assert!(foo());
5
5
| ^^^^^^^^^^^^^^
6
6
|
7
+ = help: consider describing why the failing assert is problematic
7
8
= note: `-D clippy::missing-assert-message` implied by `-D warnings`
8
9
9
10
error: assert without any message
10
11
--> $DIR/missing_assert_message.rs:15:5
11
12
|
12
13
LL | assert_eq!(foo(), foo());
13
14
| ^^^^^^^^^^^^^^^^^^^^^^^^
15
+ |
16
+ = help: consider describing why the failing assert is problematic
14
17
15
18
error: assert without any message
16
19
--> $DIR/missing_assert_message.rs:16:5
17
20
|
18
21
LL | assert_ne!(foo(), foo());
19
22
| ^^^^^^^^^^^^^^^^^^^^^^^^
23
+ |
24
+ = help: consider describing why the failing assert is problematic
20
25
21
26
error: assert without any message
22
27
--> $DIR/missing_assert_message.rs:17:5
23
28
|
24
29
LL | debug_assert!(foo());
25
30
| ^^^^^^^^^^^^^^^^^^^^
31
+ |
32
+ = help: consider describing why the failing assert is problematic
26
33
27
34
error: assert without any message
28
35
--> $DIR/missing_assert_message.rs:18:5
29
36
|
30
37
LL | debug_assert_eq!(foo(), foo());
31
38
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
39
+ |
40
+ = help: consider describing why the failing assert is problematic
32
41
33
42
error: assert without any message
34
43
--> $DIR/missing_assert_message.rs:19:5
35
44
|
36
45
LL | debug_assert_ne!(foo(), foo());
37
46
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47
+ |
48
+ = help: consider describing why the failing assert is problematic
38
49
39
50
error: assert without any message
40
51
--> $DIR/missing_assert_message.rs:24:5
41
52
|
42
53
LL | assert!(bar!(true));
43
54
| ^^^^^^^^^^^^^^^^^^^
55
+ |
56
+ = help: consider describing why the failing assert is problematic
44
57
45
58
error: assert without any message
46
59
--> $DIR/missing_assert_message.rs:25:5
47
60
|
48
61
LL | assert!(bar!(true, false));
49
62
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
63
+ |
64
+ = help: consider describing why the failing assert is problematic
50
65
51
66
error: assert without any message
52
67
--> $DIR/missing_assert_message.rs:26:5
53
68
|
54
69
LL | assert_eq!(bar!(true), foo());
55
70
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
71
+ |
72
+ = help: consider describing why the failing assert is problematic
56
73
57
74
error: assert without any message
58
75
--> $DIR/missing_assert_message.rs:27:5
59
76
|
60
77
LL | assert_ne!(bar!(true, true), bar!(true));
61
78
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
79
+ |
80
+ = help: consider describing why the failing assert is problematic
62
81
63
82
error: assert without any message
64
83
--> $DIR/missing_assert_message.rs:32:5
65
84
|
66
85
LL | assert!(foo(),);
67
86
| ^^^^^^^^^^^^^^^
87
+ |
88
+ = help: consider describing why the failing assert is problematic
68
89
69
90
error: assert without any message
70
91
--> $DIR/missing_assert_message.rs:33:5
71
92
|
72
93
LL | assert_eq!(foo(), foo(),);
73
94
| ^^^^^^^^^^^^^^^^^^^^^^^^^
95
+ |
96
+ = help: consider describing why the failing assert is problematic
74
97
75
98
error: assert without any message
76
99
--> $DIR/missing_assert_message.rs:34:5
77
100
|
78
101
LL | assert_ne!(foo(), foo(),);
79
102
| ^^^^^^^^^^^^^^^^^^^^^^^^^
103
+ |
104
+ = help: consider describing why the failing assert is problematic
80
105
81
106
error: assert without any message
82
107
--> $DIR/missing_assert_message.rs:35:5
83
108
|
84
109
LL | debug_assert!(foo(),);
85
110
| ^^^^^^^^^^^^^^^^^^^^^
111
+ |
112
+ = help: consider describing why the failing assert is problematic
86
113
87
114
error: assert without any message
88
115
--> $DIR/missing_assert_message.rs:36:5
89
116
|
90
117
LL | debug_assert_eq!(foo(), foo(),);
91
118
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
119
+ |
120
+ = help: consider describing why the failing assert is problematic
92
121
93
122
error: assert without any message
94
123
--> $DIR/missing_assert_message.rs:37:5
95
124
|
96
125
LL | debug_assert_ne!(foo(), foo(),);
97
126
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127
+ |
128
+ = help: consider describing why the failing assert is problematic
98
129
99
130
error: aborting due to 16 previous errors
100
131
0 commit comments