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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:13: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:14: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:15: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:16: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:17: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:22: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:23: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:24: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:25: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:30: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:31: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:32: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:33: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:34: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-04-20 10:19:36 -05:00
|
|
|
--> $DIR/missing_assert_message.rs:35: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
|
|
|
|
|