Merge pull request #3278 from d-dorazio/fix-contributing-manual-test-command

contributing.md: fix command to manually test an example
This commit is contained in:
Philipp Hansch 2018-10-08 21:54:08 +02:00 committed by GitHub
commit 995a974182
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -149,8 +149,8 @@ Therefore you should use `tests/ui/update-all-references.sh` (after running
Manually testing against an example file is useful if you have added some
`println!`s and test suite output becomes unreadable. To try Clippy with your
local modifications, run `cargo run --bin clippy-driver -- -L ./target/debug input.rs` from the
working copy root.
local modifications, run `env CLIPPY_TESTS=true cargo run --bin clippy-driver -- -L ./target/debug input.rs`
from the working copy root.
### How Clippy works