40 |
#[test]
|
41 |
#[allow(clippy::shadow_reuse)]
|
42 |
#[allow(clippy::shadow_unrelated)]
|
140 |
#[test]
|
141 |
#[allow(clippy::shadow_reuse)]
|
142 |
#[allow(clippy::shadow_unrelated)]
|
30 |
let mut transfer = easy.transfer();
|
31 |
#[allow(clippy::shadow_reuse)]
|
32 |
transfer
|
636 |
#[allow(clippy::shadow_reuse, clippy::shadow_unrelated, clippy::float_arithmetic)]
|
637 |
let species = species
|
40 |
/// `rest` (i.e. the same every time) actually removes cognitive load.
|
41 |
#[allow(clippy::shadow_reuse)]
|
42 |
fn parse(bytes: &'de [u8]) -> Result<(Self, &[u8]), Error> {
|
137 |
/// Returns the parsed symtab and the rest of the slice for the body.
|
138 |
#[allow(clippy::shadow_reuse)]
|
139 |
fn parse(bytes: &[u8]) -> Result<(SymbolRefTable, &[u8]), Error> {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic, clippy::as_conversions)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic, clippy::as_conversions)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic, clippy::as_conversions)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic, clippy::as_conversions)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic, clippy::as_conversions)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic, clippy::as_conversions)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
41 |
#[must_use]
|
42 |
#[allow(clippy::shadow_reuse, clippy::integer_arithmetic)]
|
43 |
fn shares_neighbour_with(&self, other: &Self) -> bool {
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::shadow_reuse,
|
41 |
clippy::tabs_in_doc_comments,
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::shadow_reuse,
|
41 |
clippy::tabs_in_doc_comments,
|
46 |
// TODO: Consider removing `shadow_unrelated`, as it can show some actual logic errors
|
47 |
#![allow(clippy::shadow_unrelated, clippy::shadow_reuse, clippy::shadow_same)]
|
48 |
// A `if let` / `else` sometimes looks better than using iterator adaptors
|
113 |
clippy::shadow_same, // Not too much bad
|
114 |
clippy::shadow_reuse, // Not too much bad
|
115 |
clippy::exhaustive_enums,
|
40 |
#![allow(clippy::result_expect_used)]
|
41 |
#![allow(clippy::shadow_reuse)]
|
42 |
#![allow(clippy::shadow_same)]
|
42 |
#![allow(clippy::result_expect_used)]
|
43 |
#![allow(clippy::shadow_reuse)]
|
44 |
#![allow(clippy::shadow_same)]
|
82 |
#![allow(clippy::result_expect_used)]
|
83 |
#![allow(clippy::shadow_reuse)]
|
84 |
#![allow(clippy::shadow_same)]
|
8 |
#![cfg_attr(feature = "cargo-clippy", warn(warnings, clippy_pedantic))]
|
9 |
#![cfg_attr(feature = "cargo-clippy", allow(missing_docs_in_private_items, non_ascii_literal, shadow_reuse, unused_results))]
|
10 |
// `unused_results` caused too many false positive here.
|
3 |
#![allow(clippy::shadow_reuse)]
|
46 |
clippy::cast_precision_loss,
|
47 |
clippy::shadow_reuse,
|
48 |
clippy::cognitive_complexity,
|
55 |
cast_precision_loss,
|
56 |
shadow_reuse,
|
57 |
cyclomatic_complexity,
|
39 |
clippy::redundant_pub_crate,
|
40 |
clippy::shadow_reuse,
|
41 |
clippy::tabs_in_doc_comments,
|
62 |
clippy::pattern_type_mismatch,
|
63 |
clippy::shadow_reuse
|
64 |
)]
|
16 |
clippy::non_ascii_literal,
|
17 |
clippy::shadow_reuse,
|
18 |
clippy::struct_excessive_bools,
|
7 |
clippy::cast_possible_wrap,
|
8 |
clippy::shadow_reuse,
|
9 |
clippy::panic_in_result_fn,
|
4 |
clippy::implicit_return,
|
5 |
clippy::shadow_reuse,
|
6 |
clippy::print_stdout,
|
18 |
clippy::pattern_type_mismatch,
|
19 |
clippy::shadow_reuse,
|
20 |
clippy::shadow_same,
|
185 |
clippy::await_holding_lock,
|
186 |
clippy::shadow_reuse,
|
187 |
clippy::shadow_same,
|
187 |
clippy::await_holding_lock,
|
188 |
clippy::shadow_reuse,
|
189 |
clippy::shadow_same,
|
16 |
clippy::pattern_type_mismatch,
|
17 |
clippy::shadow_reuse,
|
18 |
clippy::shadow_same,
|
16 |
clippy::pattern_type_mismatch,
|
17 |
clippy::shadow_reuse,
|
18 |
clippy::shadow_same,
|
16 |
clippy::pattern_type_mismatch,
|
17 |
clippy::shadow_reuse,
|
18 |
clippy::shadow_same,
|
16 |
clippy::pattern_type_mismatch,
|
17 |
clippy::shadow_reuse,
|
18 |
clippy::shadow_same,
|
16 |
clippy::pattern_type_mismatch,
|
17 |
clippy::shadow_reuse,
|
18 |
clippy::shadow_same,
|
12 |
clippy::transmute_ptr_to_ptr,
|
13 |
clippy::shadow_reuse,
|
14 |
clippy::default_numeric_fallback,
|
4 |
clippy::implicit_return,
|
5 |
clippy::shadow_reuse,
|
6 |
clippy::print_stdout,
|
15 |
#![feature(const_fn, staged_api, stdsimd, doc_cfg, allow_internal_unstable)]
|
16 |
#![allow(clippy::shadow_reuse)]
|
17 |
#![deny(clippy::missing_inline_in_public_items)]
|
15 |
#![feature(const_fn, staged_api, stdsimd, doc_cfg, allow_internal_unstable)]
|
16 |
#![allow(clippy::shadow_reuse)]
|
17 |
#![deny(clippy::missing_inline_in_public_items)]
|
15 |
#![feature(const_fn, staged_api, stdsimd, doc_cfg, allow_internal_unstable)]
|
16 |
#![allow(clippy::shadow_reuse)]
|
17 |
#![deny(clippy::missing_inline_in_public_items)]
|
15 |
#![feature(const_fn, staged_api, stdsimd, doc_cfg, allow_internal_unstable)]
|
16 |
#![allow(clippy::shadow_reuse)]
|
17 |
#![deny(clippy::missing_inline_in_public_items)]
|
4 |
clippy::implicit_return,
|
5 |
clippy::shadow_reuse,
|
6 |
clippy::print_stdout,
|
106 |
clippy::separated_literal_suffix, // Conflicts with `clippy::unseparated_literal_suffix`
|
107 |
clippy::shadow_reuse, // It is a common pattern
|
108 |
)]
|
338 |
cast_lossless,
|
339 |
shadow_reuse,
|
340 |
shadow_unrelated,
|
134 |
clippy::len_without_is_empty,
|
135 |
clippy::shadow_reuse,
|
136 |
clippy::cast_possible_wrap,
|
134 |
clippy::len_without_is_empty,
|
135 |
clippy::shadow_reuse,
|
136 |
clippy::cast_possible_wrap,
|
15 |
#![feature(const_fn, staged_api, stdsimd, doc_cfg, allow_internal_unstable)]
|
16 |
#![allow(clippy::shadow_reuse)]
|
17 |
#![deny(clippy::missing_inline_in_public_items)]
|
7 |
#![feature(doc_cfg, allow_internal_unstable)]
|
8 |
#![cfg_attr(feature = "cargo-clippy", allow(shadow_reuse))]
|
9 |
#![cfg_attr(target_os = "linux", feature(linkage))]
|
36 |
clippy::items_after_statements, // Sometimes we only add things from where they are first used, even if they are available in the whole scope
|
37 |
clippy::shadow_reuse, // We shadow values when accepting generics `file: impl AsRef<U>` and `let file = file.as_ref()`, for example
|
38 |
clippy::multiple_inherent_impl, // We separate `impl`s where possible based on their purpose
|
209 |
clippy::missing_docs_in_private_items,
|
210 |
clippy::shadow_reuse,
|
211 |
clippy::similar_names,
|
20 |
// We shadow variables, as long as they have the same meaning
|
21 |
#![allow(clippy::shadow_reuse)]
|
22 |
// We have fine-grained error types, which are self-explanatory
|
40 |
clippy::unseparated_literal_suffix,
|
41 |
clippy::shadow_reuse,
|
42 |
clippy::mod_module_files
|
36 |
clippy::mod_module_files,
|
37 |
clippy::shadow_reuse,
|
38 |
clippy::pattern_type_mismatch
|
34 |
clippy::missing_docs_in_private_items,
|
35 |
clippy::shadow_reuse
|
36 |
)]
|
36 |
clippy::pub_use,
|
37 |
clippy::shadow_reuse,
|
38 |
clippy::implicit_return,
|