mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-29 22:11:09 +00:00
Work around clippy redundant_field_names bug
This commit is contained in:
parent
0c4ffad9ec
commit
29be721f79
12
.travis.yml
12
.travis.yml
@ -71,17 +71,19 @@ matrix:
|
|||||||
- rustup default "$CLIPPY_NIGHTLY"
|
- rustup default "$CLIPPY_NIGHTLY"
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
script:
|
script:
|
||||||
- cargo clippy -- -D clippy::all
|
# The need for -Aredundant_field_names here is a Clippy bug.
|
||||||
|
# https://github.com/rust-lang/rust-clippy/issues/5356
|
||||||
|
- cargo clippy -- -D clippy::all -A clippy::redundant_field_names
|
||||||
- cd "${TRAVIS_BUILD_DIR}/serde"
|
- cd "${TRAVIS_BUILD_DIR}/serde"
|
||||||
- cargo clippy --features rc,unstable -- -D clippy::all
|
- cargo clippy --features rc,unstable -- -D clippy::all -A clippy::redundant_field_names
|
||||||
- cd "${TRAVIS_BUILD_DIR}/serde_derive"
|
- cd "${TRAVIS_BUILD_DIR}/serde_derive"
|
||||||
- cargo clippy -- -D clippy::all
|
- cargo clippy -- -D clippy::all
|
||||||
- cd "${TRAVIS_BUILD_DIR}/serde_test"
|
- cd "${TRAVIS_BUILD_DIR}/serde_test"
|
||||||
- cargo clippy -- -D clippy::all
|
- cargo clippy -- -D clippy::all -A clippy::redundant_field_names
|
||||||
- cd "${TRAVIS_BUILD_DIR}/test_suite"
|
- cd "${TRAVIS_BUILD_DIR}/test_suite"
|
||||||
- cargo clippy --tests --features unstable -- -D clippy::all
|
- cargo clippy --tests --features unstable -- -D clippy::all -A clippy::redundant_field_names
|
||||||
- cd "${TRAVIS_BUILD_DIR}/test_suite/no_std"
|
- cd "${TRAVIS_BUILD_DIR}/test_suite/no_std"
|
||||||
- cargo clippy -- -D clippy::all
|
- cargo clippy -- -D clippy::all -A clippy::redundant_field_names
|
||||||
|
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
name: Emscripten
|
name: Emscripten
|
||||||
|
Loading…
x
Reference in New Issue
Block a user