File tree 3 files changed +3
-0
lines changed
crates/cargo-test-support/src
3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,7 @@ dependency.
106
106
*/
107
107
108
108
#![ allow( clippy:: needless_doctest_main) ] // according to @ehuss this lint is fussy
109
+ #![ allow( clippy:: inefficient_to_string) ] // this causes suggestions that result in `(*s).to_string()`
109
110
110
111
use std:: env;
111
112
use std:: ffi:: OsStr ;
Original file line number Diff line number Diff line change 17
17
#![ allow( clippy:: type_complexity) ] // there's an exceptionally complex type
18
18
#![ allow( clippy:: wrong_self_convention) ] // perhaps `Rc` should be special-cased in Clippy?
19
19
#![ allow( clippy:: write_with_newline) ] // too pedantic
20
+ #![ allow( clippy:: inefficient_to_string) ] // this causes suggestions that result in `(*s).to_string()`
20
21
#![ warn( clippy:: needless_borrow) ]
21
22
#![ warn( clippy:: redundant_clone) ]
22
23
// Unit is now interned, and would probably be better as pass-by-copy, but
Original file line number Diff line number Diff line change 4
4
#![ allow( clippy:: explicit_iter_loop) ]
5
5
#![ allow( clippy:: redundant_closure) ]
6
6
#![ allow( clippy:: block_in_if_condition_stmt) ] // clippy doesn't agree with rustfmt 😂
7
+ #![ allow( clippy:: inefficient_to_string) ] // this causes suggestions that result in `(*s).to_string()`
7
8
#![ warn( clippy:: needless_borrow) ]
8
9
#![ warn( clippy:: redundant_clone) ]
9
10
You can’t perform that action at this time.
0 commit comments