112 |
#[test]
|
113 |
#[allow(clippy::bool_assert_comparison)]
|
114 |
fn functional_0() {
|
57 |
#[test]
|
58 |
#[allow(clippy::bool_assert_comparison)]
|
59 |
fn cmp() {
|
866 |
#[cfg(test)]
|
867 |
#[allow(clippy::bool_assert_comparison)]
|
868 |
mod test {
|
694 |
#[test]
|
695 |
#[allow(clippy::bool_assert_comparison)]
|
696 |
fn using_values() {
|
868 |
#[cfg(test)]
|
869 |
#[allow(clippy::bool_assert_comparison)]
|
870 |
mod tests {
|
490 |
#[cfg(test)]
|
491 |
#[allow(clippy::bool_assert_comparison)]
|
492 |
mod tests {
|
95 |
#[cfg(test)]
|
96 |
#[allow(clippy::bool_assert_comparison)]
|
97 |
mod tests {
|
38 |
#[test]
|
39 |
#[allow(clippy::bool_assert_comparison)]
|
40 |
fn expand_some() {
|
31 |
#[test]
|
32 |
#[allow(clippy::bool_assert_comparison)]
|
33 |
fn expand_many() {
|
19 |
#[test]
|
20 |
#[allow(clippy::bool_assert_comparison)]
|
21 |
fn expand_many() {
|
627 |
#[test]
|
628 |
#[allow(clippy::bool_assert_comparison)]
|
629 |
fn bool_succeeds() {
|
5 |
#[test]
|
6 |
#[allow(clippy::bool_assert_comparison)]
|
7 |
fn test_bit() {
|
160 |
#[test]
|
161 |
#[allow(clippy::bool_assert_comparison)]
|
162 |
fn test_is_power_of_two() {
|
158 |
#[cfg(test)]
|
159 |
#[allow(clippy::bool_assert_comparison)]
|
160 |
mod test_node_flags {
|
1308 |
#[cfg(test)]
|
1309 |
#[allow(clippy::bool_assert_comparison)]
|
1310 |
mod tests {
|
965 |
#[test]
|
966 |
#[allow(clippy::bool_assert_comparison)]
|
967 |
fn header() {
|
560 |
#[test]
|
561 |
#[allow(clippy::bool_assert_comparison)]
|
562 |
#[allow(clippy::nonminimal_bool)]
|
250 |
#[test]
|
251 |
#[allow(clippy::bool_assert_comparison)]
|
252 |
fn exact_or_none() {
|
22 |
// more readable with explicit `true` / `false`
|
23 |
#[allow(clippy::bool_assert_comparison)]
|
24 |
for _ in 0..32 {
|
160 |
#[allow(clippy::bool_assert_comparison)]
|
161 |
#[cfg(test)]
|
66 |
#[allow(clippy::bool_assert_comparison)]
|
67 |
#[cfg(test)]
|
7 |
#[test]
|
8 |
#[allow(clippy::bool_assert_comparison)]
|
9 |
fn test_bit() {
|
87 |
#[test]
|
88 |
#[allow(clippy::bool_assert_comparison)]
|
89 |
fn test_is_power_of_two() {
|
889 |
#[test]
|
890 |
#[allow(clippy::bool_assert_comparison)] // clearer when we're testing bools directly
|
891 |
fn break_rule() {
|
142 |
#[cfg(test)]
|
143 |
#[allow(clippy::bool_assert_comparison)]
|
144 |
mod tests {
|
72 |
#[test]
|
73 |
#[allow(clippy::bool_assert_comparison)]
|
74 |
fn test_get_bit() {
|
19 |
#[allow(clippy::bool_assert_comparison)]
|
20 |
fn main() {
|
1586 |
#[test]
|
1587 |
#[allow(clippy::bool_assert_comparison)]
|
1588 |
fn read_disk1() {
|
1689 |
#[test]
|
1690 |
#[allow(clippy::bool_assert_comparison)]
|
1691 |
fn new_mbr_then_write_then_read_twice() {
|
1586 |
#[test]
|
1587 |
#[allow(clippy::bool_assert_comparison)]
|
1588 |
fn read_disk1() {
|
1689 |
#[test]
|
1690 |
#[allow(clippy::bool_assert_comparison)]
|
1691 |
fn new_mbr_then_write_then_read_twice() {
|
10 |
#[test]
|
11 |
#[allow(clippy::bool_assert_comparison)]
|
12 |
fn works() {
|
575 |
// For clarity.
|
576 |
#[allow(clippy::bool_assert_comparison)]
|
577 |
{
|
619 |
// For clarity.
|
620 |
#[allow(clippy::bool_assert_comparison)]
|
621 |
{
|
95 |
fn boolean() -> Result<()> {
|
96 |
#![allow(clippy::bool_assert_comparison)]
|
97 |
let mut vec = VectorOfbool::new();
|
360 |
#[allow(clippy::bool_assert_comparison)]
|
361 |
{
|
589 |
#[test]
|
590 |
#[allow(clippy::bool_assert_comparison)]
|
591 |
fn deserialize_bool() {
|
659 |
#[test]
|
660 |
#[allow(clippy::bool_assert_comparison)]
|
661 |
fn test_debug_off() {
|
8 |
#[test]
|
9 |
#[allow(clippy::bool_assert_comparison)]
|
10 |
fn bool() {
|
511 |
#[allow(clippy::bool_assert_comparison)]
|
512 |
#[test_case(RequestedVersion::Any => true ; "Any supports all versions")]
|
250 |
#[test]
|
251 |
#[allow(clippy::bool_assert_comparison)]
|
252 |
fn exact_or_none() {
|
169 |
#[test]
|
170 |
#[allow(clippy::bool_assert_comparison)]
|
171 |
#[allow(clippy::cmp_nan)]
|
147 |
#[test]
|
148 |
#[allow(clippy::bool_assert_comparison)]
|
149 |
#[allow(clippy::cmp_nan)]
|
152 |
#[test]
|
153 |
#[allow(clippy::bool_assert_comparison)]
|
154 |
#[allow(clippy::cmp_nan)]
|
132 |
#[test]
|
133 |
#[allow(clippy::bool_assert_comparison)]
|
134 |
fn boolean() -> Result<(), String> {
|
1015 |
#[test]
|
1016 |
#[allow(clippy::bool_assert_comparison)]
|
1017 |
fn test_bool_cmp() {
|
940 |
#[test]
|
941 |
#[allow(clippy::bool_assert_comparison)]
|
942 |
fn test_bool_cmp() {
|
483 |
#[test]
|
484 |
#[allow(clippy::bool_assert_comparison)]
|
485 |
fn test_bool_cmp() {
|
85 |
#[cfg(test)]
|
86 |
#[allow(clippy::bool_assert_comparison, clippy::unused_unit)] // test_case! generated warnings
|
87 |
mod test {
|
171 |
#[cfg(test)]
|
172 |
#[allow(clippy::bool_assert_comparison)]
|
173 |
mod test {
|
281 |
#[cfg(test)]
|
282 |
#[allow(clippy::bool_assert_comparison)] // test_case! generated warnings
|
283 |
mod test {
|
270 |
#[cfg(test)]
|
271 |
#[allow(clippy::bool_assert_comparison)] // test_case! generated warnings
|
272 |
mod test {
|
1481 |
#[test]
|
1482 |
#[allow(clippy::bool_assert_comparison)]
|
1483 |
fn verify_bitstreamltr_ignore_bits() {
|
1543 |
#[test]
|
1544 |
#[allow(clippy::bool_assert_comparison)]
|
1545 |
fn verify_bitstreamltr_read_bool() {
|
1846 |
#[test]
|
1847 |
#[allow(clippy::bool_assert_comparison)]
|
1848 |
fn verify_bitstreamrtl_ignore_bits() {
|
1908 |
#[test]
|
1909 |
#[allow(clippy::bool_assert_comparison)]
|
1910 |
fn verify_bitstreamrtl_read_bool() {
|
165 |
#[allow(clippy::bool_assert_comparison)]
|
166 |
#[cfg(test)]
|
312 |
#[allow(clippy::bool_assert_comparison)]
|
313 |
#[cfg(test)]
|
314 |
#[allow(clippy::bool_assert_comparison)]
|
315 |
#[cfg(test)]
|
1155 |
#[test]
|
1156 |
#[allow(clippy::bool_assert_comparison)]
|
1157 |
pub fn ops() {
|
8 |
#[rustfmt::skip]
|
9 |
#[allow(clippy::bool_assert_comparison)]
|
10 |
fn test_get_bit() {
|
436 |
#[rustfmt::skip]
|
437 |
#[allow(clippy::bool_assert_comparison)]
|
438 |
fn test_bitfield_basic() {
|
502 |
#[cfg(test)]
|
503 |
#[allow(clippy::bool_assert_comparison)]
|
504 |
mod tests {
|
706 |
#[test]
|
707 |
#[allow(clippy::bool_assert_comparison)] // much clearer this way IMO
|
708 |
fn test_ok_unquoted() {
|
560 |
clippy::too_many_lines,
|
561 |
clippy::bool_assert_comparison
|
562 |
)]
|
474 |
#[test]
|
475 |
#[allow(clippy::bool_assert_comparison)]
|
476 |
fn test_connect() {
|
687 |
#[test]
|
688 |
#[allow(clippy::bool_assert_comparison)]
|
689 |
fn test_allowed_domains() {
|
722 |
#[test]
|
723 |
#[allow(clippy::bool_assert_comparison)]
|
724 |
fn test_allowed_domains_with_wildcard() {
|
758 |
#[should_panic]
|
759 |
#[allow(clippy::bool_assert_comparison)]
|
760 |
fn test_url_parsing() {
|
107 |
async fn node_kind_is_named() {
|
108 |
#[allow(clippy::bool_assert_comparison)]
|
109 |
async fn inner() -> Result<(), JsValue> {
|
121 |
async fn node_kind_is_visible() {
|
122 |
#[allow(clippy::bool_assert_comparison)]
|
123 |
async fn inner() -> Result<(), JsValue> {
|
107 |
async fn node_kind_is_named() {
|
108 |
#[allow(clippy::bool_assert_comparison)]
|
109 |
async fn inner() -> Result<(), JsValue> {
|
121 |
async fn node_kind_is_visible() {
|
122 |
#[allow(clippy::bool_assert_comparison)]
|
123 |
async fn inner() -> Result<(), JsValue> {
|
91 |
#[allow(clippy::bool_assert_comparison)]
|
92 |
#[cfg(test)]
|
328 |
#[allow(clippy::bool_assert_comparison)]
|
329 |
#[cfg(test)]
|
88 |
#[allow(clippy::bool_assert_comparison)]
|
89 |
#[cfg(test)]
|
108 |
#[allow(clippy::bool_assert_comparison)]
|
109 |
#[cfg(test)]
|
176 |
#[allow(clippy::bool_assert_comparison)]
|
177 |
#[cfg(test)]
|
101 |
#[allow(clippy::bool_assert_comparison)]
|
102 |
#[cfg(test)]
|
138 |
#[allow(clippy::bool_assert_comparison)]
|
139 |
#[cfg(test)]
|
1281 |
#[allow(clippy::bool_assert_comparison)]
|
1282 |
#[cfg(test)]
|
200 |
#![allow(clippy::needless_doctest_main)]
|
201 |
#![allow(clippy::bool_assert_comparison)]
|
202 |
#![allow(clippy::zero_prefixed_literal)]
|
8 |
#![allow(clippy::bool_assert_comparison)]
|
231 |
// @@ begin test lint list maintained by maint/add_warning @@
|
232 |
#![allow(clippy::bool_assert_comparison)]
|
233 |
#![allow(clippy::clone_on_copy)]
|
1 |
// @@ begin test lint list maintained by maint/add_warning @@
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
3 |
#![allow(clippy::clone_on_copy)]
|
1 |
// @@ begin test lint list maintained by maint/add_warning @@
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
3 |
#![allow(clippy::clone_on_copy)]
|
1 |
// @@ begin test lint list maintained by maint/add_warning @@
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
3 |
#![allow(clippy::clone_on_copy)]
|
1 |
// @@ begin test lint list maintained by maint/add_warning @@
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
3 |
#![allow(clippy::clone_on_copy)]
|
1 |
// @@ begin test lint list maintained by maint/add_warning @@
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
3 |
#![allow(clippy::clone_on_copy)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
218 |
// We prefer to be explicit here.
|
219 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::bool_assert_comparison, clippy::useless_conversion)]
|
1 |
#![allow(
|
2 |
clippy::bool_assert_comparison,
|
3 |
clippy::useless_conversion,
|
50 |
#![warn(missing_docs)]
|
51 |
#![allow(clippy::bool_assert_comparison)]
|
743 |
mod abstract_relational_comparison {
|
744 |
#![allow(clippy::bool_assert_comparison)]
|
788 |
mod abstract_relational_comparison {
|
789 |
#![allow(clippy::bool_assert_comparison)]
|
22 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::bool_assert_comparison, clippy::needless_pass_by_value)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
314 |
mod tests {
|
315 |
#![allow(clippy::bool_assert_comparison)]
|
4 |
#![cfg_attr(doc, feature(doc_cfg))]
|
5 |
#![allow(clippy::bool_assert_comparison)]
|
6 |
#![allow(clippy::assign_op_pattern)]
|
1 |
#![cfg(feature = "booleans")]
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
3 |
#![allow(clippy::assign_op_pattern)]
|
1 |
#![cfg(all(feature = "booleans", feature = "experimental_syntax_sugar"))]
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
3 |
#![allow(clippy::assign_op_pattern)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(dead_code)]
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
2 |
#![allow(clippy::bool_to_int_with_if)]
|
1 |
#![cfg_attr(not(feature = "std"), no_std)]
|
2 |
#![allow(clippy::bool_assert_comparison, clippy::identity_op)]
|
3 |
#![allow(clippy::result_large_err)]
|
4 |
#![allow(clippy::bool_assert_comparison)]
|
5 |
use std::collections::VecDeque;
|
27 |
#![allow(clippy::assertions_on_constants)]
|
28 |
#![allow(clippy::bool_assert_comparison)]
|
29 |
#![allow(clippy::branches_sharing_code)]
|
66 |
mod test {
|
67 |
#![allow(clippy::bool_assert_comparison)]
|
2 |
#![allow(clippy::assign_op_pattern)]
|
3 |
#![allow(clippy::bool_assert_comparison)]
|
4 |
#![allow(clippy::float_cmp)]
|
3 |
#![deny(unsafe_op_in_unsafe_fn)]
|
4 |
#![allow(clippy::bool_assert_comparison)]
|
5 |
#![allow(clippy::needless_return)] // <https://github.com/rust-lang/rust-clippy/issues/7637>
|
4 |
#![allow(clippy::module_inception)]
|
5 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
2 |
#![allow(clippy::module_inception)]
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
25 |
clippy::assertions_on_constants, // Compile-time asserts still useful
|
26 |
clippy::bool_assert_comparison, // Often clearer than using !
|
27 |
clippy::cognitive_complexity,
|
2 |
unstable_name_collisions,
|
3 |
clippy::bool_assert_comparison,
|
4 |
clippy::assertions_on_constants,
|
2 |
unstable_name_collisions,
|
3 |
clippy::bool_assert_comparison,
|
4 |
clippy::assertions_on_constants,
|
4 |
#![allow(clippy::module_inception)]
|
5 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![cfg(feature = "encoder")]
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
20 |
#![allow(clippy::bool_assert_comparison)]
|
20 |
#![warn(missing_docs)]
|
21 |
#![allow(clippy::bool_assert_comparison)]
|
20 |
#![warn(missing_docs)]
|
21 |
#![allow(clippy::bool_assert_comparison)]
|
21 |
#![warn(missing_docs)]
|
22 |
#![allow(clippy::bool_assert_comparison)]
|
20 |
#![warn(missing_docs)]
|
21 |
#![allow(clippy::bool_assert_comparison)]
|
22 |
#![allow(clippy::len_without_is_empty)]
|
20 |
#![allow(clippy::bool_assert_comparison)]
|
21 |
pub mod payload;
|
160 |
// We prefer to be explicit here.
|
161 |
#![allow(clippy::bool_assert_comparison)]
|
549 |
fn test_gen_bool() {
|
550 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(
|
2 |
clippy::bool_assert_comparison,
|
3 |
clippy::match_same_arms,
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
9 |
clippy::needless_range_loop,
|
10 |
clippy::bool_assert_comparison
|
11 |
)]
|
370 |
mod tests {
|
371 |
#![allow(clippy::bool_assert_comparison)]
|
84 |
#![allow(clippy::let_and_return)]
|
85 |
#![allow(clippy::bool_assert_comparison)]
|
86 |
// Unless this becomes machine applicable, I'm not adding 334 #[must_use]s (waffle)
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
3 |
// Copyright 2017 Brian Langenberger
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
534 |
// @@ begin test lint list maintained by maint/add_warning @@
|
535 |
#![allow(clippy::bool_assert_comparison)]
|
536 |
#![allow(clippy::clone_on_copy)]
|
588 |
// @@ begin test lint list maintained by maint/add_warning @@
|
589 |
#![allow(clippy::bool_assert_comparison)]
|
590 |
#![allow(clippy::clone_on_copy)]
|
37 |
// @@ begin test lint list maintained by maint/add_warning @@
|
38 |
#![allow(clippy::bool_assert_comparison)]
|
39 |
#![allow(clippy::clone_on_copy)]
|
3 |
// @@ begin test lint list maintained by maint/add_warning @@
|
4 |
#![allow(clippy::bool_assert_comparison)]
|
5 |
#![allow(clippy::clone_on_copy)]
|
529 |
// @@ begin test lint list maintained by maint/add_warning @@
|
530 |
#![allow(clippy::bool_assert_comparison)]
|
531 |
#![allow(clippy::clone_on_copy)]
|
131 |
// @@ begin test lint list maintained by maint/add_warning @@
|
132 |
#![allow(clippy::bool_assert_comparison)]
|
133 |
#![allow(clippy::clone_on_copy)]
|
81 |
// @@ begin test lint list maintained by maint/add_warning @@
|
82 |
#![allow(clippy::bool_assert_comparison)]
|
83 |
#![allow(clippy::clone_on_copy)]
|
740 |
// @@ begin test lint list maintained by maint/add_warning @@
|
741 |
#![allow(clippy::bool_assert_comparison)]
|
742 |
#![allow(clippy::clone_on_copy)]
|
388 |
// @@ begin test lint list maintained by maint/add_warning @@
|
389 |
#![allow(clippy::bool_assert_comparison)]
|
390 |
#![allow(clippy::clone_on_copy)]
|
335 |
// @@ begin test lint list maintained by maint/add_warning @@
|
336 |
#![allow(clippy::bool_assert_comparison)]
|
337 |
#![allow(clippy::clone_on_copy)]
|
403 |
// @@ begin test lint list maintained by maint/add_warning @@
|
404 |
#![allow(clippy::bool_assert_comparison)]
|
405 |
#![allow(clippy::clone_on_copy)]
|
172 |
// @@ begin test lint list maintained by maint/add_warning @@
|
173 |
#![allow(clippy::bool_assert_comparison)]
|
174 |
#![allow(clippy::clone_on_copy)]
|
3 |
// @@ begin test lint list maintained by maint/add_warning @@
|
4 |
#![allow(clippy::bool_assert_comparison)]
|
5 |
#![allow(clippy::clone_on_copy)]
|
250 |
// @@ begin test lint list maintained by maint/add_warning @@
|
251 |
#![allow(clippy::bool_assert_comparison)]
|
252 |
#![allow(clippy::clone_on_copy)]
|
606 |
// @@ begin test lint list maintained by maint/add_warning @@
|
607 |
#![allow(clippy::bool_assert_comparison)]
|
608 |
#![allow(clippy::clone_on_copy)]
|
36 |
// @@ begin test lint list maintained by maint/add_warning @@
|
37 |
#![allow(clippy::bool_assert_comparison)]
|
38 |
#![allow(clippy::clone_on_copy)]
|
233 |
// @@ begin test lint list maintained by maint/add_warning @@
|
234 |
#![allow(clippy::bool_assert_comparison)]
|
235 |
#![allow(clippy::clone_on_copy)]
|
139 |
// @@ begin test lint list maintained by maint/add_warning @@
|
140 |
#![allow(clippy::bool_assert_comparison)]
|
141 |
#![allow(clippy::clone_on_copy)]
|
406 |
// @@ begin test lint list maintained by maint/add_warning @@
|
407 |
#![allow(clippy::bool_assert_comparison)]
|
408 |
#![allow(clippy::clone_on_copy)]
|
779 |
// @@ begin test lint list maintained by maint/add_warning @@
|
780 |
#![allow(clippy::bool_assert_comparison)]
|
781 |
#![allow(clippy::clone_on_copy)]
|
307 |
// @@ begin test lint list
|
308 |
#![allow(clippy::bool_assert_comparison)]
|
309 |
#![allow(clippy::clone_on_copy)]
|
87 |
// @@ begin test lint list
|
88 |
#![allow(clippy::bool_assert_comparison)]
|
89 |
#![allow(clippy::clone_on_copy)]
|
4 |
#![deny(clippy::all)]
|
5 |
#![allow(clippy::bool_assert_comparison)]
|
6 |
#![allow(non_camel_case_types)]
|
2 |
#![deny(clippy::all)]
|
3 |
#![allow(clippy::bool_assert_comparison)]
|
4 |
#![allow(non_camel_case_types)]
|
3 |
#![allow(clippy::needless_lifetimes)]
|
4 |
#![allow(clippy::bool_assert_comparison)]
|
5 |
#![allow(clippy::too_many_arguments)]
|
20 |
#![deny(clippy::all)]
|
21 |
#![allow(clippy::bool_assert_comparison)]
|
22 |
#![allow(non_camel_case_types)]
|
4 |
#![deny(clippy::all)]
|
5 |
#![allow(clippy::bool_assert_comparison)]
|
6 |
#![allow(clippy::too_many_arguments)]
|
3 |
#![allow(clippy::bool_assert_comparison, clippy::redundant_clone)]
|
231 |
mod test_entry {
|
232 |
#![allow(clippy::bool_assert_comparison)]
|
233 |
use super::*;
|
8 |
// It is much clearer to assert negative conditions with eq! false
|
9 |
clippy::bool_assert_comparison,
|
10 |
// We use loops for getting early-out of scope without closures.
|
1 |
#![allow(clippy::bool_assert_comparison)]
|
2 |
mod auth;
|
1 |
#![allow(clippy::bool_assert_comparison)]
|