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