|
| 1 | +error: assert without any message |
| 2 | + --> $DIR/missing_assert_message.rs:14:5 |
| 3 | + | |
| 4 | +LL | assert!(foo()); |
| 5 | + | ^^^^^^^^^^^^^^ |
| 6 | + | |
| 7 | + = note: `-D clippy::missing-assert-message` implied by `-D warnings` |
| 8 | + |
| 9 | +error: assert without any message |
| 10 | + --> $DIR/missing_assert_message.rs:15:5 |
| 11 | + | |
| 12 | +LL | assert_eq!(foo(), foo()); |
| 13 | + | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 14 | + |
| 15 | +error: assert without any message |
| 16 | + --> $DIR/missing_assert_message.rs:16:5 |
| 17 | + | |
| 18 | +LL | assert_ne!(foo(), foo()); |
| 19 | + | ^^^^^^^^^^^^^^^^^^^^^^^^ |
| 20 | + |
| 21 | +error: assert without any message |
| 22 | + --> $DIR/missing_assert_message.rs:17:5 |
| 23 | + | |
| 24 | +LL | debug_assert!(foo()); |
| 25 | + | ^^^^^^^^^^^^^^^^^^^^ |
| 26 | + |
| 27 | +error: assert without any message |
| 28 | + --> $DIR/missing_assert_message.rs:18:5 |
| 29 | + | |
| 30 | +LL | debug_assert_eq!(foo(), foo()); |
| 31 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 32 | + |
| 33 | +error: assert without any message |
| 34 | + --> $DIR/missing_assert_message.rs:19:5 |
| 35 | + | |
| 36 | +LL | debug_assert_ne!(foo(), foo()); |
| 37 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 38 | + |
| 39 | +error: assert without any message |
| 40 | + --> $DIR/missing_assert_message.rs:24:5 |
| 41 | + | |
| 42 | +LL | assert!(bar!(true)); |
| 43 | + | ^^^^^^^^^^^^^^^^^^^ |
| 44 | + |
| 45 | +error: assert without any message |
| 46 | + --> $DIR/missing_assert_message.rs:25:5 |
| 47 | + | |
| 48 | +LL | assert!(bar!(true, false)); |
| 49 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 50 | + |
| 51 | +error: assert without any message |
| 52 | + --> $DIR/missing_assert_message.rs:26:5 |
| 53 | + | |
| 54 | +LL | assert_eq!(bar!(true), foo()); |
| 55 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 56 | + |
| 57 | +error: assert without any message |
| 58 | + --> $DIR/missing_assert_message.rs:27:5 |
| 59 | + | |
| 60 | +LL | assert_ne!(bar!(true, true), bar!(true)); |
| 61 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 62 | + |
| 63 | +error: assert without any message |
| 64 | + --> $DIR/missing_assert_message.rs:32:5 |
| 65 | + | |
| 66 | +LL | assert!(foo(),); |
| 67 | + | ^^^^^^^^^^^^^^^ |
| 68 | + |
| 69 | +error: assert without any message |
| 70 | + --> $DIR/missing_assert_message.rs:33:5 |
| 71 | + | |
| 72 | +LL | assert_eq!(foo(), foo(),); |
| 73 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 74 | + |
| 75 | +error: assert without any message |
| 76 | + --> $DIR/missing_assert_message.rs:34:5 |
| 77 | + | |
| 78 | +LL | assert_ne!(foo(), foo(),); |
| 79 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 80 | + |
| 81 | +error: assert without any message |
| 82 | + --> $DIR/missing_assert_message.rs:35:5 |
| 83 | + | |
| 84 | +LL | debug_assert!(foo(),); |
| 85 | + | ^^^^^^^^^^^^^^^^^^^^^ |
| 86 | + |
| 87 | +error: assert without any message |
| 88 | + --> $DIR/missing_assert_message.rs:36:5 |
| 89 | + | |
| 90 | +LL | debug_assert_eq!(foo(), foo(),); |
| 91 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 92 | + |
| 93 | +error: assert without any message |
| 94 | + --> $DIR/missing_assert_message.rs:37:5 |
| 95 | + | |
| 96 | +LL | debug_assert_ne!(foo(), foo(),); |
| 97 | + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 98 | + |
| 99 | +error: aborting due to 16 previous errors |
| 100 | + |
0 commit comments