Fix tests
This commit is contained in:
parent
e3cda2a399
commit
0fcc33e29c
@ -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 {
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![allow(clippy::clone_on_copy, unused)]
|
||||
#![allow(clippy::assigning_clones)]
|
||||
#![no_main]
|
||||
|
||||
// lint
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![allow(clippy::clone_on_copy, unused)]
|
||||
#![allow(clippy::assigning_clones)]
|
||||
#![no_main]
|
||||
|
||||
// lint
|
||||
|
Loading…
Reference in New Issue
Block a user