]> git.lizzy.rs Git - rust.git/blobdiff - CONTRIBUTING.md
Make lint work on all members of ast::Item_
[rust.git] / CONTRIBUTING.md
index 81618aacebcccce0cd444fd2f858900a01623852..c5dcec2167e000644be6762eec6a092912e058dc 100644 (file)
@@ -70,8 +70,9 @@ Please document your lint with a doc comment akin to the following:
 
 Clippy uses UI tests. UI tests check that the output of the compiler is exactly as expected.
 Of course there's little sense in writing the output yourself or copying it around.
-Therefore you can simply run `tests/ui/update-all-references.sh` and check whether
-the output looks as you expect with `git diff`. Commit all `*.stderr` files, too.
+Therefore you can simply run `tests/ui/update-all-references.sh` (after running
+`cargo test`) and check whether the output looks as you expect with `git diff`. Commit all
+`*.stderr` files, too.
 
 ### Testing manually