You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
matching of the syntax tree structure, and are generally easier than
24
-
[T-middle](https://github.com/rust-lang-nursery/rust-clippy/labels/T-middle) issues, which involve types
24
+
[`T-middle`](https://github.com/rust-lang-nursery/rust-clippy/labels/T-middle) issues, which involve types
25
25
and resolved paths.
26
26
27
-
Issues marked [E-medium](https://github.com/rust-lang-nursery/rust-clippy/labels/E-medium) are generally
28
-
pretty easy too, though it's recommended you work on an E-easy issue first. They are mostly classified
29
-
as `E-medium`, since they might be somewhat involved code wise, but not difficult per-se.
30
-
31
-
[Llogiq's blog post on lints](https://llogiq.github.io/2015/06/04/workflows.html) is a nice primer
32
-
to lint-writing, though it does get into advanced stuff. Most lints consist of an implementation of
33
-
`LintPass` with one or more of its default methods overridden. See the existing lints for examples
34
-
of this.
35
-
36
-
T-AST issues will generally need you to match against a predefined syntax structure. To figure out
27
+
[`T-AST`](https://github.com/rust-lang-nursery/rust-clippy/labels/T-AST) issues will generally need you to match against a predefined syntax structure. To figure out
37
28
how this syntax structure is encoded in the AST, it is recommended to run `rustc -Z ast-json` on an
38
29
example of the structure and compare with the
39
30
[nodes in the AST docs](http://manishearth.github.io/rust-internals-docs/syntax/ast/). Usually
40
31
the lint will end up to be a nested series of matches and ifs,
0 commit comments