about summary refs log tree commit diff
path: root/doc/adding_lints.md
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-08-28 02:54:03 +0900
committerYuki Okushi <huyuumi.dev@gmail.com>2019-08-28 03:17:05 +0900
commitb348aae767aec2680affe090b10a6bc0af85bc7c (patch)
tree5f9ce954eeaba37492c424663e9f5c63c95ad06e /doc/adding_lints.md
parent949b347f654f40ed7e4ab9dedb9e2c9b0a8c2133 (diff)
downloadrust-b348aae767aec2680affe090b10a6bc0af85bc7c.tar.gz
rust-b348aae767aec2680affe090b10a6bc0af85bc7c.zip
Add note to avoid confusing
Diffstat (limited to 'doc/adding_lints.md')
-rw-r--r--doc/adding_lints.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/adding_lints.md b/doc/adding_lints.md
index c9816911a82..1fb26c66d9f 100644
--- a/doc/adding_lints.md
+++ b/doc/adding_lints.md
@@ -86,6 +86,8 @@ test. That allows us to check if the output is turning into what we want.
 
 Once we are satisfied with the output, we need to run
 `tests/ui/update-all-references.sh` to update the `.stderr` file for our lint.
+Please note that, we should run `TESTNAME=ui/foo_functions cargo uitest`
+every time before running `tests/ui/update-all-references.sh`.
 Running `TESTNAME=ui/foo_functions cargo uitest` should pass then. When we
 commit our lint, we need to commit the generated `.stderr` files, too.