File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ mkdir -p ~/rust/cargo/bin
7
7
cp target/debug/cargo-clippy ~ /rust/cargo/bin/cargo-clippy
8
8
cp target/debug/clippy-driver ~ /rust/cargo/bin/clippy-driver
9
9
rm ~ /.cargo/bin/cargo-clippy
10
- PATH=$PATH :~ /rust/cargo/bin cargo clippy --all -- -D clippy
10
+ PATH=$PATH :~ /rust/cargo/bin cargo clippy --all-targets --all-features -- --cap-lints warn -D clippy
11
11
cd clippy_workspace_tests && PATH=$PATH :~ /rust/cargo/bin cargo clippy -- -D clippy && cd ..
12
12
cd clippy_workspace_tests/src && PATH=$PATH :~ /rust/cargo/bin cargo clippy -- -D clippy && cd ../..
13
13
cd clippy_workspace_tests/subcrate && PATH=$PATH :~ /rust/cargo/bin cargo clippy -- -D clippy && cd ../..
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ git clone --depth=1 https://github.com/${INTEGRATION}.git checkout
8
8
cd checkout
9
9
10
10
function check() {
11
- RUST_BACKTRACE=full cargo clippy --all & > clippy_output
11
+ RUST_BACKTRACE=full cargo clippy --all-targets --all-features -- --cap-lints warn & > clippy_output
12
12
cat clippy_output
13
- ! cat clippy_output | grep -q " internal compiler error"
13
+ ! cat clippy_output | grep -q " internal compiler error\|query stack during panic "
14
14
if [[ $? != 0 ]]; then
15
15
return 1
16
16
fi
You can’t perform that action at this time.
0 commit comments