@@ -48,6 +48,7 @@ this toolchain, you can just use the `setup-toolchain.sh` script or use
48
48
sh setup-toolchain.sh
49
49
# OR
50
50
cargo install rustup-toolchain-install-master
51
+ # For better IDE integration also add `-c rustfmt -c rust-src` (optional)
51
52
rustup-toolchain-install-master -f -n master -c rustc-dev -c llvm-tools
52
53
rustup override set master
53
54
```
@@ -62,8 +63,8 @@ cargo build # builds Clippy
62
63
cargo test # tests Clippy
63
64
```
64
65
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:
67
68
68
69
``` bash
69
70
# only run UI tests
@@ -74,7 +75,7 @@ TESTNAME="test_" cargo uitest
74
75
cargo test --test dogfood
75
76
```
76
77
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
78
79
reference file with:
79
80
80
81
``` bash
@@ -87,6 +88,8 @@ or if you modify a test file to add a test case.
87
88
_ Note:_ This command may update more files than you intended. In that case only
88
89
commit the files you wanted to update.
89
90
91
+ [ UI test ] : https://rustc-dev-guide.rust-lang.org/tests/adding.html#guide-to-the-ui-tests
92
+
90
93
## ` cargo dev `
91
94
92
95
Clippy has some dev tools to make working on Clippy more convenient. These tools
0 commit comments