mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-10 17:07:36 +00:00
Make integration tests fail on 'E0463'
This commit is contained in:
parent
a416c5e0f7
commit
abab181984
@ -21,7 +21,7 @@ function check() {
|
|||||||
# run clippy on a project, try to be verbose and trigger as many warnings as possible for greater coverage
|
# run clippy on a project, try to be verbose and trigger as many warnings as possible for greater coverage
|
||||||
RUST_BACKTRACE=full cargo clippy --all-targets --all-features -- --cap-lints warn -W clippy::pedantic -W clippy::nursery &> clippy_output
|
RUST_BACKTRACE=full cargo clippy --all-targets --all-features -- --cap-lints warn -W clippy::pedantic -W clippy::nursery &> clippy_output
|
||||||
cat clippy_output
|
cat clippy_output
|
||||||
! cat clippy_output | grep -q "internal compiler error\|query stack during panic"
|
! cat clippy_output | grep -q "internal compiler error\|query stack during panic\|E0463"
|
||||||
if [[ $? != 0 ]]; then
|
if [[ $? != 0 ]]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user