Fix tests

This commit is contained in:
Jakub Beránek 2024-01-03 14:53:03 +01:00
parent e3cda2a399
commit 0fcc33e29c
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B
5 changed files with 6 additions and 2 deletions

View File

@ -139,7 +139,7 @@ fn owned_method_val(mut mut_string: String, ref_str: &str) {
}
struct HasDeref {
a: String
a: String,
}
impl Deref for HasDeref {

View File

@ -2,6 +2,7 @@
//@aux-build:proc_macros.rs
#![warn(clippy::field_reassign_with_default)]
#![allow(clippy::assigning_clones)]
#[macro_use]
extern crate proc_macro_derive;

View File

@ -1,5 +1,6 @@
#![warn(clippy::manual_memcpy)]
#![allow(clippy::useless_vec, clippy::needless_range_loop)]
#![allow(clippy::assigning_clones, clippy::useless_vec, clippy::needless_range_loop)]
//@no-rustfix
const LOOP_OFFSET: usize = 5000;

View File

@ -1,4 +1,5 @@
#![allow(clippy::clone_on_copy, unused)]
#![allow(clippy::assigning_clones)]
#![no_main]
// lint

View File

@ -1,4 +1,5 @@
#![allow(clippy::clone_on_copy, unused)]
#![allow(clippy::assigning_clones)]
#![no_main]
// lint