2023-02-16 14:50:51 +00:00
|
|
|
error: assert without any message
|
2023-04-20 15:19:36 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:12:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert!(foo());
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-02-18 19:09:31 +00:00
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
= note: `-D clippy::missing-assert-message` implied by `-D warnings`
|
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:14:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert_eq!(foo(), foo());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:16:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert_ne!(foo(), foo());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:18:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | debug_assert!(foo());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:20:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | debug_assert_eq!(foo(), foo());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:22:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | debug_assert_ne!(foo(), foo());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:28:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert!(bar!(true));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:30:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert!(bar!(true, false));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:32:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert_eq!(bar!(true), foo());
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:34:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert_ne!(bar!(true, true), bar!(true));
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:40:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert!(foo(),);
|
|
|
|
| ^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:42:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert_eq!(foo(), foo(),);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:44:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | assert_ne!(foo(), foo(),);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:46:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | debug_assert!(foo(),);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:48:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | debug_assert_eq!(foo(), foo(),);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: assert without any message
|
2023-07-28 19:35:48 +00:00
|
|
|
--> $DIR/missing_assert_message.rs:50:5
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
|
LL | debug_assert_ne!(foo(), foo(),);
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2023-02-18 19:09:31 +00:00
|
|
|
|
|
|
|
|
= help: consider describing why the failing assert is problematic
|
2023-02-16 14:50:51 +00:00
|
|
|
|
|
|
|
error: aborting due to 16 previous errors
|
|
|
|
|