@@ -48,6 +48,7 @@ this toolchain, you can just use the `setup-toolchain.sh` script or use
4848sh setup-toolchain.sh
4949# OR
5050cargo install rustup-toolchain-install-master
51+ # For better IDE integration also add `-c rustfmt -c rust-src` (optional)
5152rustup-toolchain-install-master -f -n master -c rustc-dev -c llvm-tools
5253rustup override set master
5354```
@@ -62,8 +63,8 @@ cargo build # builds Clippy
6263cargo test # tests Clippy
6364```
6465
65- Since Clippys test suite is pretty big, there are some commands that only run a
66- subset of Clippys tests:
66+ Since Clippy's test suite is pretty big, there are some commands that only run a
67+ subset of Clippy's tests:
6768
6869``` bash
6970# only run UI tests
@@ -74,7 +75,7 @@ TESTNAME="test_" cargo uitest
7475cargo test --test dogfood
7576```
7677
77- If the output of a UI test differs from the expected output, you can update the
78+ If the output of a [ UI test] differs from the expected output, you can update the
7879reference file with:
7980
8081``` bash
@@ -87,6 +88,8 @@ or if you modify a test file to add a test case.
8788_ Note:_ This command may update more files than you intended. In that case only
8889commit the files you wanted to update.
8990
91+ [ UI test ] : https://rustc-dev-guide.rust-lang.org/tests/adding.html#guide-to-the-ui-tests
92+
9093## ` cargo dev `
9194
9295Clippy has some dev tools to make working on Clippy more convenient. These tools
0 commit comments