New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs in regards to the merged RFC #3466

merged 2 commits into from Nov 28, 2018
Jump to file or symbol
Failed to load files and symbols.
+7 −5
Diff settings


Just for now

Copy path View file
@@ -63,14 +63,15 @@ an AST expression). `match_def_path()` in Clippy's `utils` module can also be us
## Writing code
Compiling Clippy from scratch can take almost a minute or more depending on your machine.
However, since Rust 1.24.0 incremental compilation is enabled by default and compile times for small changes should be quick.
[Llogiq's blog post on lints]( is a nice primer
to lint-writing, though it does get into advanced stuff. Most lints consist of an implementation of
`LintPass` with one or more of its default methods overridden. See the existing lints for examples
of this.
If you want to add a new lint or change existing ones apart from bugfixing, it's
also a good idea to give the [stability guaratees][rfc_stability] and
[lint categories][rfc_lint_cats] sections of the [Clippy 1.0 RFC][clippy_rfc] a
quick read.
### Author lint
@@ -263,3 +264,6 @@ All code in this repository is under the [Mozilla Public License, 2.0](https://w
Copy path View file
@@ -1,5 +1,3 @@
We are currently in the process of discussing Clippy 1.0 via the RFC process in . The RFC's goal is to clarify policies around lint categorizations and the policy around which lints should be in the compiler and which lints should be in Clippy. Please leave your thoughts on the RFC PR.
# Clippy
[![Build Status](](
ProTip! Use n and p to navigate between commits in a pull request.