File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,6 @@ test file and compare that to the contents of a `.fixed` file.
104
104
Use ` tests/ui/update-all-references.sh ` to automatically generate the
105
105
` .fixed ` file after running the tests.
106
106
107
- With tests in place, let's have a look at implementing our lint now.
108
-
109
107
### Edition 2018 tests
110
108
111
109
Some features require the 2018 edition to work (e.g. ` async_await ` ), but
@@ -119,6 +117,8 @@ Manually testing against an example file can be useful if you have added some
119
117
your local modifications, run `env CLIPPY_TESTS=true cargo run --bin
120
118
clippy-driver -- -L ./target/debug input.rs` from the working copy root.
121
119
120
+ With tests in place, let's have a look at implementing our lint now.
121
+
122
122
### Lint declaration
123
123
124
124
We start by creating a new file in the ` clippy_lints ` crate. That's the crate
You can’t perform that action at this time.
0 commit comments