diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-10-08 21:54:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-10-08 21:54:08 +0200 |
| commit | 995a974182dd4377f7b570423d3fa5aacfed21cc (patch) | |
| tree | 5bb447618f5a0a93f056d3d1830af4d9d8fca295 | |
| parent | d47dbf598adc4a6407ea34b44399907cb068d7a9 (diff) | |
| parent | e1d7f00e430aa253cf686d3330d1408620977443 (diff) | |
| download | rust-995a974182dd4377f7b570423d3fa5aacfed21cc.tar.gz rust-995a974182dd4377f7b570423d3fa5aacfed21cc.zip | |
Merge pull request #3278 from d-dorazio/fix-contributing-manual-test-command
contributing.md: fix command to manually test an example
| -rw-r--r-- | CONTRIBUTING.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1341ca30ebd..c4080a5fa9c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 |
