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
328328
329329Here are some pointers to things you are likely going to need for every lint:
330330
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 ]
331334* [ The ` if_chain ` macro] [ if_chain ]
332335* [ ` in_macro ` ] [ in_macro ] and [ ` in_external_macro ` ] [ in_external_macro ]
333336* [ ` Span ` ] [ span ]
334- * [ Clippy diagnostics] [ diagnostics ]
335337* [ ` Applicability ` ] [ applicability ]
336338
337339For ` EarlyLintPass ` lints:
@@ -360,6 +362,7 @@ don't hesitate to ask on Discord, IRC or in the issue/PR.
360362[ late_lint_pass ] : https://doc.rust-lang.org/nightly/nightly-rustc/rustc/lint/trait.LateLintPass.html
361363[ fn_kind ] : https://doc.rust-lang.org/nightly/nightly-rustc/syntax/visit/enum.FnKind.html
362364[ 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
363366[ ident ] : https://doc.rust-lang.org/nightly/nightly-rustc/syntax/source_map/symbol/struct.Ident.html
364367[ span ] : https://doc.rust-lang.org/nightly/nightly-rustc/syntax_pos/struct.Span.html
365368[ 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