Auto merge of #5405 - dwijnand:contributing-lint-overrides, r=matklad

Detail how to override lint warnings when compiling tests

alternative to #5403
This commit is contained in:
bors 2018-04-22 16:38:01 +00:00
commit 65e690af0d

View file

@ -106,6 +106,10 @@ assert_that(
Alternatively to build and run a custom version of cargo simply run `cargo build`
and execute `target/debug/cargo`.
Because the test suite has `#![deny(warnings)]` at times you might find it
convenient to override this with `RUSTFLAGS`, for example
`RUSTFLAGS="--cap-lints warn" cargo build`.
## Logging
Cargo uses [`env_logger`](https://docs.rs/env_logger/*/env_logger/), so you can set