about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniele D'Orazio <d.dorazio96@gmail.com>2018-10-06 20:07:41 +0200
committerDaniele D'Orazio <d.dorazio96@gmail.com>2018-10-07 11:56:13 +0200
commite1d7f00e430aa253cf686d3330d1408620977443 (patch)
tree1250136fff7c8521c389c4ea22f5f697b39d8b6d
parent4511f4edf4f3d6c73506b03ccf2ff7d7894c6ff6 (diff)
downloadrust-e1d7f00e430aa253cf686d3330d1408620977443.tar.gz
rust-e1d7f00e430aa253cf686d3330d1408620977443.zip
fix command to manually test an example
-rw-r--r--CONTRIBUTING.md4
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