Auto merge of #4501 - derivmug:update-lint-doc, r=phansch

Remove ui/ from TESTNAME for foo lint example

changelog: Remove ui/ from TESTNAME in doc/adding-lints.md

This PR remove the `ui/` from the TESTNAME of the example foo lint in the 'Adding lints' documentation.
This commit is contained in:
bors 2019-09-04 17:59:19 +00:00
commit abbb7ee12f

View File

@ -77,7 +77,7 @@ fn main() {
```
Now we can run the test with `TESTNAME=ui/foo_functions cargo uitest`.
Now we can run the test with `TESTNAME=foo_functions cargo uitest`.
Currently this test will fail. If you go through the output you will see that we
are told that `clippy::foo_functions` is an unknown lint, which is expected.