File tree 4 files changed +0
-8
lines changed
crates/cargo-test-support/src
4 files changed +0
-8
lines changed Original file line number Diff line number Diff line change 3
3
//! See <https://rust-lang.github.io/cargo/contrib/> for a guide on writing tests.
4
4
5
5
#![ allow( clippy:: all) ]
6
- #![ warn( clippy:: needless_borrow) ]
7
- #![ warn( clippy:: redundant_clone) ]
8
6
#![ cfg_attr( feature = "deny-warnings" , deny( warnings) ) ]
9
7
10
8
use std:: env;
Original file line number Diff line number Diff line change 1
1
#![ warn( rust_2018_idioms) ] // while we're getting used to 2018
2
2
#![ allow( clippy:: all) ]
3
- #![ warn( clippy:: needless_borrow) ]
4
- #![ warn( clippy:: redundant_clone) ]
5
3
6
4
use cargo:: core:: shell:: Shell ;
7
5
use cargo:: util:: toml:: StringOrVec ;
Original file line number Diff line number Diff line change 5
5
// Due to some of the default clippy lints being somewhat subjective and not
6
6
// necessarily an improvement, we prefer to not use them at this time.
7
7
#![ allow( clippy:: all) ]
8
- #![ warn( clippy:: needless_borrow) ]
9
- #![ warn( clippy:: redundant_clone) ]
10
8
11
9
use crate :: core:: shell:: Verbosity :: Verbose ;
12
10
use crate :: core:: Shell ;
Original file line number Diff line number Diff line change 1
1
// See src/cargo/lib.rs for notes on these lint settings.
2
2
#![ warn( rust_2018_idioms) ]
3
3
#![ allow( clippy:: all) ]
4
- #![ warn( clippy:: needless_borrow) ]
5
- #![ warn( clippy:: redundant_clone) ]
6
4
#![ cfg_attr( feature = "deny-warnings" , deny( warnings) ) ]
7
5
8
6
#[ macro_use]
You can’t perform that action at this time.
0 commit comments