108 |
#[allow(clippy::unnecessary_operation)]
|
109 |
fn setup_logger(is_cli: bool, is_debug: bool) -> Result<()> {
|
211 |
#[allow(clippy::unnecessary_operation)]
|
212 |
mod basics {
|
726 |
#[allow(clippy::unnecessary_operation)]
|
727 |
#[cfg(test)]
|
240 |
#[allow(clippy::unnecessary_operation)]
|
241 |
#[cfg(test)]
|
119 |
#[allow(clippy::unnecessary_operation)]
|
120 |
#[test]
|
1190 |
// Cause out of bounds access when `Self` is not zero-sized.
|
1191 |
#[allow(clippy::unnecessary_operation)]
|
1192 |
[()][core::mem::size_of::<Self>()];
|
1483 |
// Cause out of bounds access when `Self` is not zero-sized.
|
1484 |
#[allow(clippy::unnecessary_operation)]
|
1485 |
[()][core::mem::size_of::<Self>()];
|
66 |
}
|
67 |
#[allow(clippy::unnecessary_operation)]
|
68 |
pub const fn toord(input: u8) -> u8
|
102 |
// counter-part.
|
103 |
#[allow(clippy::unnecessary_operation)]
|
104 |
pub const fn to_ordinal(input: u8) -> u8 {
|
91 |
#[test]
|
92 |
#[allow(clippy::unnecessary_operation)]
|
93 |
fn ensure_error_trait_impls() {
|
156 |
let mut index_v6 = None;
|
157 |
#[allow(clippy::unnecessary_operation)]
|
158 |
{
|
223 |
let mut records_v6_pool = None;
|
224 |
#[allow(clippy::unnecessary_operation)]
|
225 |
{
|
26 |
#[allow(clippy::unnecessary_operation, unused_must_use)]
|
27 |
fn benchmark_coprime_with_algorithms<T: PrimitiveUnsigned>(
|
190 |
#[allow(clippy::unnecessary_operation)]
|
191 |
fn benchmark_div_mod_signed_algorithms<T: PrimitiveSigned>(
|
330 |
#[allow(clippy::unnecessary_operation)]
|
331 |
fn benchmark_ceiling_div_neg_mod_algorithms<T: PrimitiveUnsigned>(
|
356 |
#[allow(clippy::unnecessary_operation)]
|
357 |
fn benchmark_ceiling_div_mod_algorithms<T: PrimitiveSigned>(
|
99 |
#[allow(clippy::unnecessary_operation)]
|
100 |
fn benchmark_mod_unsigned_algorithms<T: PrimitiveUnsigned>(
|
121 |
#[allow(clippy::unnecessary_operation)]
|
122 |
fn benchmark_mod_signed_algorithms<T: PrimitiveSigned>(
|
179 |
#[allow(clippy::unnecessary_operation)]
|
180 |
fn benchmark_neg_mod_algorithms<T: PrimitiveUnsigned>(
|
221 |
#[allow(clippy::unnecessary_operation)]
|
222 |
fn benchmark_ceiling_mod_algorithms<T: PrimitiveSigned>(
|
372 |
#[allow(clippy::unnecessary_operation)]
|
373 |
fn benchmark_sqrt_rem_algorithms_2<
|
232 |
#[allow(clippy::unnecessary_operation)]
|
233 |
fn benchmark_integer_mantissa_and_exponent_algorithms_unsigned<T: PrimitiveUnsigned>(
|
93 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
94 |
fn benchmark_integer_add_library_comparison(
|
68 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
69 |
fn benchmark_integer_div_library_comparison(
|
91 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
92 |
fn benchmark_integer_div_algorithms(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
|
253 |
#[allow(clippy::unnecessary_operation)]
|
254 |
fn benchmark_integer_div_mod_algorithms(
|
456 |
#[allow(clippy::unnecessary_operation)]
|
457 |
fn benchmark_integer_ceiling_div_mod_algorithms(
|
202 |
#[allow(clippy::unnecessary_operation)]
|
203 |
fn benchmark_integer_div_round_ceiling_algorithms(
|
211 |
#[allow(clippy::unnecessary_operation)]
|
212 |
fn benchmark_integer_mod_algorithms(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
|
285 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
286 |
fn benchmark_integer_rem_library_comparison(
|
308 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
309 |
fn benchmark_integer_rem_algorithms(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
|
391 |
#[allow(clippy::unnecessary_operation)]
|
392 |
fn benchmark_integer_ceiling_mod_algorithms(
|
95 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
96 |
fn benchmark_rational_add_library_comparison(
|
72 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
73 |
fn benchmark_rational_div_library_comparison(
|
99 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
100 |
fn benchmark_rational_mul_library_comparison(
|
40 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
41 |
fn benchmark_rational_neg_library_comparison(
|
99 |
#[allow(clippy::unnecessary_operation, unused_must_use)]
|
100 |
fn benchmark_rational_round_to_multiple_of_power_of_2_algorithms(
|
238 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
239 |
fn benchmark_rational_shl_u32_library_comparison(
|
281 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
282 |
fn benchmark_rational_shl_i32_library_comparison(
|
238 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
239 |
fn benchmark_rational_shr_u32_library_comparison(
|
281 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
282 |
fn benchmark_rational_shr_i32_library_comparison(
|
72 |
#[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
|
73 |
fn benchmark_rational_sub_library_comparison(
|
13 |
clippy::tabs_in_doc_comments,
|
14 |
clippy::unnecessary_operation,
|
15 |
)]
|
124 |
#[allow(clippy::unnecessary_operation)]
|
125 |
fn clone_from(&mut self, _source: &Self) {
|
108 |
#[cfg(feature = "health")]
|
109 |
#[allow(clippy::unnecessary_operation)]
|
110 |
{
|
124 |
#[cfg(feature = "transaction")]
|
125 |
#[allow(clippy::unnecessary_operation)]
|
126 |
{
|
341 |
#[inline]
|
342 |
#[cfg_attr(feature = "cargo-clippy", allow(unnecessary_operation))]
|
343 |
pub fn get_page(&self, page: PdfPageIndex)
|
485 |
#[cfg(feature = "nightly")]
|
486 |
#[cfg_attr(feature = "cargo-clippy", allow(unnecessary_operation))]
|
487 |
const fn validate(s: &[u8]) {
|
94 |
#[allow(unused_braces)]
|
95 |
#[allow(clippy::unnecessary_operation)]
|
96 |
fn defer_guard_syntax_works() {
|
18 |
#[allow(clippy::unnecessary_operation)]
|
19 |
pub(crate) fn get_table_name_from_attributes(attributes: Vec<Attribute>) -> Option<String> {
|
1230 |
// Cause out of bounds access when `Self` is not zero-sized.
|
1231 |
#[allow(clippy::unnecessary_operation)]
|
1232 |
[()][core::mem::size_of::<Self>()];
|
1523 |
// Cause out of bounds access when `Self` is not zero-sized.
|
1524 |
#[allow(clippy::unnecessary_operation)]
|
1525 |
[()][core::mem::size_of::<Self>()];
|
36 |
#![no_std]
|
37 |
#![allow(clippy::unnecessary_operation)] // lint is bugged
|
4 |
#![allow(unused, clippy::redundant_clone, clippy::unnecessary_operation)]
|
2 |
#![allow(clippy::float_cmp)]
|
3 |
#![allow(clippy::unnecessary_operation)]
|
15 |
clippy::default_trait_access,
|
16 |
clippy::unnecessary_operation // temporary until derive-builder uses #[allow(clippy::all)]
|
17 |
)]
|
3 |
unused_must_use,
|
4 |
clippy::unnecessary_operation,
|
5 |
clippy::op_ref,
|
7 |
#![allow(clippy::or_fun_call)]
|
8 |
#![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
|
11 |
#![allow(clippy::or_fun_call)]
|
12 |
#![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
|
11 |
#![allow(clippy::or_fun_call)]
|
12 |
#![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
|
13 |
#![allow(clippy::no_effect)] // trips on #[throws(Explode)]
|
372 |
mod tests {
|
373 |
#![allow(clippy::unnecessary_operation, clippy::non_ascii_literal)]
|
374 |
use super::*;
|
769 |
#![allow(clippy::unnecessary_operation, clippy::non_ascii_literal)]
|
770 |
#[cfg(not(target_arch = "wasm32"))]
|
981 |
mod tests_serde {
|
982 |
#![allow(clippy::unnecessary_operation, clippy::non_ascii_literal)]
|
983 |
use super::serde::from_slice;
|
1 |
#![allow(clippy::unnecessary_operation)]
|
2 |
#![warn(rust_2018_idioms)]
|
1 |
#![allow(clippy::unnecessary_operation)]
|
2 |
#![warn(rust_2018_idioms)]
|
402 |
#![allow(
|
403 |
clippy::unnecessary_operation,
|
404 |
clippy::non_ascii_literal,
|
20 |
clippy::new_ret_no_self,
|
21 |
clippy::unnecessary_operation,
|
22 |
clippy::single_match,
|