1 error: used `assert_eq!` with a literal bool
2 --> $DIR/bool_assert_comparison.rs:16:5
4 LL | assert_eq!("a".is_empty(), false);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
7 = note: `-D clippy::bool-assert-comparison` implied by `-D warnings`
9 error: used `assert_eq!` with a literal bool
10 --> $DIR/bool_assert_comparison.rs:17:5
12 LL | assert_eq!("".is_empty(), true);
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
15 error: used `assert_eq!` with a literal bool
16 --> $DIR/bool_assert_comparison.rs:18:5
18 LL | assert_eq!(true, "".is_empty());
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
21 error: used `assert_ne!` with a literal bool
22 --> $DIR/bool_assert_comparison.rs:24:5
24 LL | assert_ne!("a".is_empty(), false);
25 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
27 error: used `assert_ne!` with a literal bool
28 --> $DIR/bool_assert_comparison.rs:25:5
30 LL | assert_ne!("".is_empty(), true);
31 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
33 error: used `assert_ne!` with a literal bool
34 --> $DIR/bool_assert_comparison.rs:26:5
36 LL | assert_ne!(true, "".is_empty());
37 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
39 error: used `debug_assert_eq!` with a literal bool
40 --> $DIR/bool_assert_comparison.rs:32:5
42 LL | debug_assert_eq!("a".is_empty(), false);
43 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
45 error: used `debug_assert_eq!` with a literal bool
46 --> $DIR/bool_assert_comparison.rs:33:5
48 LL | debug_assert_eq!("".is_empty(), true);
49 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
51 error: used `debug_assert_eq!` with a literal bool
52 --> $DIR/bool_assert_comparison.rs:34:5
54 LL | debug_assert_eq!(true, "".is_empty());
55 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
57 error: used `debug_assert_ne!` with a literal bool
58 --> $DIR/bool_assert_comparison.rs:40:5
60 LL | debug_assert_ne!("a".is_empty(), false);
61 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
63 error: used `debug_assert_ne!` with a literal bool
64 --> $DIR/bool_assert_comparison.rs:41:5
66 LL | debug_assert_ne!("".is_empty(), true);
67 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
69 error: used `debug_assert_ne!` with a literal bool
70 --> $DIR/bool_assert_comparison.rs:42:5
72 LL | debug_assert_ne!(true, "".is_empty());
73 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
75 error: used `assert_eq!` with a literal bool
76 --> $DIR/bool_assert_comparison.rs:50:5
78 LL | assert_eq!("a".is_empty(), false, "tadam {}", 1);
79 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
81 error: used `assert_eq!` with a literal bool
82 --> $DIR/bool_assert_comparison.rs:51:5
84 LL | assert_eq!("a".is_empty(), false, "tadam {}", true);
85 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
87 error: used `assert_eq!` with a literal bool
88 --> $DIR/bool_assert_comparison.rs:52:5
90 LL | assert_eq!(false, "a".is_empty(), "tadam {}", true);
91 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `assert!(..)`
93 error: used `debug_assert_eq!` with a literal bool
94 --> $DIR/bool_assert_comparison.rs:56:5
96 LL | debug_assert_eq!("a".is_empty(), false, "tadam {}", 1);
97 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
99 error: used `debug_assert_eq!` with a literal bool
100 --> $DIR/bool_assert_comparison.rs:57:5
102 LL | debug_assert_eq!("a".is_empty(), false, "tadam {}", true);
103 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
105 error: used `debug_assert_eq!` with a literal bool
106 --> $DIR/bool_assert_comparison.rs:58:5
108 LL | debug_assert_eq!(false, "a".is_empty(), "tadam {}", true);
109 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `debug_assert!(..)`
111 error: aborting due to 18 previous errors