File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 53
53
command : |
54
54
rustup component add rustfmt
55
55
cargo fmt -- --check
56
+ - run :
57
+ name : Check clippy lints
58
+ # we only care about stable clippy -- nightly clippy is a bit wild
59
+ command : |
60
+ if [[ '<< parameters.toolchain_override >>' == 'stable' ]]
61
+ then
62
+ rustup component add clippy
63
+ cargo clippy --all-targets
64
+ fi
56
65
- run :
57
66
name : Build all targets
58
67
command : cargo build --all-targets
Original file line number Diff line number Diff line change
1
+ msrv = " 1.47.0"
Original file line number Diff line number Diff line change 86
86
warnings
87
87
) ]
88
88
#![ forbid( unsafe_code) ]
89
+ // Allow globally until https://github.com/rust-lang/rust-clippy/issues/8768 is resolved.
90
+ // The desired state is to allow it only for the rstest_reuse import.
91
+ #![ allow( clippy:: single_component_path_imports) ]
89
92
#![ cfg_attr( not( any( feature = "std" , test) ) , no_std) ]
90
93
91
94
#[ cfg( all( feature = "alloc" , not( any( feature = "std" , test) ) ) ) ]
You can’t perform that action at this time.
0 commit comments