File tree Expand file tree Collapse file tree 7 files changed +145
-8
lines changed Expand file tree Collapse file tree 7 files changed +145
-8
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ---
2
+ name: Blank Issue
3
+ about: Create a blank issue.
4
+ ---
Original file line number Diff line number Diff line change
1
+ ---
2
+ name: Bug Report
3
+ about: Create a bug report for Clippy
4
+ labels: L-bug
5
+ ---
6
+ <!--
7
+ Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
8
+ along with any information you feel relevant to replicating the bug.
9
+ -->
10
+
11
+ I tried this code:
12
+
13
+ ```rust
14
+ <code>
15
+ ```
16
+
17
+ I expected to see this happen: *explanation*
18
+
19
+ Instead, this happened: *explanation*
20
+
21
+ ### Meta
22
+
23
+ - `cargo clippy -V`: e.g. clippy 0.0.212 (f455e46 2020-06-20)
24
+ - `rustc -Vv`:
25
+ ```
26
+ rustc 1.46.0-nightly (f455e46ea 2020-06-20)
27
+ binary: rustc
28
+ commit-hash: f455e46eae1a227d735091091144601b467e1565
29
+ commit-date: 2020-06-20
30
+ host: x86_64-unknown-linux-gnu
31
+ release: 1.46.0-nightly
32
+ LLVM version: 10.0
33
+ ```
34
+
35
+ <!--
36
+ Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
37
+ environment. E.g. `RUST_BACKTRACE=1 cargo clippy`.
38
+ -->
39
+ <details><summary>Backtrace</summary>
40
+ <p>
41
+
42
+ ```
43
+ <backtrace>
44
+ ```
45
+
46
+ </p>
47
+ </details>
Original file line number Diff line number Diff line change
1
+ blank_issues_enabled: true
2
+ contact_links:
3
+ - name: Rust Programming Language Forum
4
+ url: https://users.rust-lang.org
5
+ about: Please ask and answer questions about Rust here.
Original file line number Diff line number Diff line change
1
+ ---
2
+ name: Internal Compiler Error
3
+ about: Create a report for an internal compiler error in Clippy.
4
+ labels: L-bug, L-crash
5
+ ---
6
+ <!--
7
+ Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide
8
+ a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
9
+ how to create smaller examples.
10
+
11
+ http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
12
+
13
+ -->
14
+
15
+ ### Code
16
+
17
+ ```rust
18
+ <code>
19
+ ```
20
+
21
+ ### Meta
22
+
23
+ - `cargo clippy -V`: e.g. clippy 0.0.212 (f455e46 2020-06-20)
24
+ - `rustc -Vv`:
25
+ ```
26
+ rustc 1.46.0-nightly (f455e46ea 2020-06-20)
27
+ binary: rustc
28
+ commit-hash: f455e46eae1a227d735091091144601b467e1565
29
+ commit-date: 2020-06-20
30
+ host: x86_64-unknown-linux-gnu
31
+ release: 1.46.0-nightly
32
+ LLVM version: 10.0
33
+ ```
34
+
35
+ ### Error output
36
+
37
+ ```
38
+ <output>
39
+ ```
40
+
41
+ <!--
42
+ Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
43
+ environment. E.g. `RUST_BACKTRACE=1 cargo clippy`.
44
+ -->
45
+ <details><summary>Backtrace</summary>
46
+ <p>
47
+
48
+ ```
49
+ <backtrace>
50
+ ```
51
+
52
+ </p>
53
+ </details>
Original file line number Diff line number Diff line change
1
+ ---
2
+ name: New lint suggestion
3
+ about: Suggest a new Clippy lint.
4
+ labels: L-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 benefit of this lint over old code?*
16
+
17
+ For example:
18
+ - Remove bounce checking inserted by ...
19
+ - Remove the need to duplicating/storing/typo ...
20
+
21
+ ### Drawbacks
22
+
23
+ None.
24
+
25
+ ### Example
26
+
27
+ ```rust
28
+ <code>
29
+ ```
30
+
31
+ Could be written as:
32
+
33
+ ```rust
34
+ <code>
35
+ ```
Original file line number Diff line number Diff line change @@ -28,4 +28,5 @@ Delete this line and everything above before opening your PR.
28
28
29
29
---
30
30
31
+ *Please keep the line below*
31
32
changelog: none
You can’t perform that action at this time.
0 commit comments