File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -260,9 +260,12 @@ fn is_foo_fn(fn_kind: FnKind<'_>) -> bool {
260
260
}
261
261
```
262
262
263
- Now you'll want to also run the full test suite with ` cargo test ` . Apart from
264
- running all other UI tests, this ensures that our lint implementation is not
265
- violating any Clippy lints itself.
263
+ Now you'll want to also run the full test suite with ` cargo test ` . At this point
264
+ running ` cargo test ` should produce the expected output. Remember to run
265
+ ` tests/ui/update-all-references.sh ` to update the ` .stderr ` file.
266
+
267
+ ` cargo test ` (as opposed to ` cargo uitest ` ) will also ensure that our lint
268
+ implementation is not violating any Clippy lints itself.
266
269
267
270
If you are still following the example, you'll see that the ` FooFunctionsPass `
268
271
violates a Clippy lint. So we are going to rename that struct to just ` Pass ` :
You can’t perform that action at this time.
0 commit comments