File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -328,10 +328,12 @@ TODO: Prose
328
328
329
329
Here are some pointers to things you are likely going to need for every lint:
330
330
331
+ * [ Clippy utils] [ utils ] - Various helper functions. Maybe the function you need
332
+ is already in here. (` implements_trait ` , ` match_path ` , ` snippet ` , etc)
333
+ * [ Clippy diagnostics] [ diagnostics ]
331
334
* [ The ` if_chain ` macro] [ if_chain ]
332
335
* [ ` in_macro ` ] [ in_macro ] and [ ` in_external_macro ` ] [ in_external_macro ]
333
336
* [ ` Span ` ] [ span ]
334
- * [ Clippy diagnostics] [ diagnostics ]
335
337
* [ ` Applicability ` ] [ applicability ]
336
338
337
339
For ` EarlyLintPass ` lints:
@@ -360,6 +362,7 @@ don't hesitate to ask on Discord, IRC or in the issue/PR.
360
362
[ late_lint_pass ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/trait.LateLintPass.html
361
363
[ fn_kind ] : https://doc.rust-lang.org/nightly/nightly-rustc/syntax/visit/enum.FnKind.html
362
364
[ diagnostics ] : https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/utils/diagnostics.rs
365
+ [ utils ] : https://github.com/rust-lang/rust-clippy/blob/master/clippy_lints/src/utils/mod.rs
363
366
[ ident ] : https://doc.rust-lang.org/nightly/nightly-rustc/syntax/source_map/symbol/struct.Ident.html
364
367
[ span ] : https://doc.rust-lang.org/nightly/nightly-rustc/syntax_pos/struct.Span.html
365
368
[ applicability ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc_errors/enum.Applicability.html
You can’t perform that action at this time.
0 commit comments