]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/.github/ISSUE_TEMPLATE/new_lint.md
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / tools / clippy / .github / ISSUE_TEMPLATE / new_lint.md
CommitLineData
f20569fa
XL
1---
2name: New lint suggestion
3about: Suggest a new Clippy lint.
4labels: A-lint
5---
6
7### What it does
8
9*What does this lint do?*
10
11### Categories (optional)
12
13- Kind: *See <https://github.com/rust-lang/rust-clippy/blob/master/README.md#clippy> for list of lint kinds*
14
15*What is the advantage of the recommended code over the original code*
16
17For example:
18- Remove bounce checking inserted by ...
19- Remove the need to duplicating/storing/typo ...
20
21### Drawbacks
22
23None.
24
25### Example
26
27```rust
28<code>
29```
30
31Could be written as:
32
33```rust
34<code>
35```