Skip to content

Commit 995a974

Browse files
authored
Merge pull request #3278 from d-dorazio/fix-contributing-manual-test-command
contributing.md: fix command to manually test an example
2 parents d47dbf5 + e1d7f00 commit 995a974

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ Therefore you should use `tests/ui/update-all-references.sh` (after running
149149

150150
Manually testing against an example file is useful if you have added some
151151
`println!`s and test suite output becomes unreadable. To try Clippy with your
152-
local modifications, run `cargo run --bin clippy-driver -- -L ./target/debug input.rs` from the
153-
working copy root.
152+
local modifications, run `env CLIPPY_TESTS=true cargo run --bin clippy-driver -- -L ./target/debug input.rs`
153+
from the working copy root.
154154

155155
### How Clippy works
156156

0 commit comments

Comments
 (0)