Skip to content

Commit 0154965

Browse files
committed
Auto merge of #6495 - matthiaskrgr:FN_FP_issue_templates, r=flip1995
ISSUE_TEMPLATE: add templates for false negative and false positive tickets. These will add the correct labels automatically so we don't have to do that ourselves :) changelog: none
2 parents b1e0d15 + 3687de2 commit 0154965

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug Report (False Negative)
3+
about: Create a bug report about missing warnings from a lint
4+
labels: L-bug, L-false-negative
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+
Lint name:
11+
12+
13+
I tried this code:
14+
15+
```rust
16+
<code>
17+
```
18+
19+
I expected to see this happen: *explanation*
20+
21+
Instead, this happened: *explanation*
22+
23+
### Meta
24+
25+
- `cargo clippy -V`: e.g. clippy 0.0.212 (f455e46 2020-06-20)
26+
- `rustc -Vv`:
27+
```
28+
rustc 1.46.0-nightly (f455e46ea 2020-06-20)
29+
binary: rustc
30+
commit-hash: f455e46eae1a227d735091091144601b467e1565
31+
commit-date: 2020-06-20
32+
host: x86_64-unknown-linux-gnu
33+
release: 1.46.0-nightly
34+
LLVM version: 10.0
35+
```
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
name: Bug Report (False Positive)
3+
about: Create a bug report about a wrongly emitted lint warning
4+
labels: L-bug, L-false-positive
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+
Lint name:
11+
12+
13+
I tried this code:
14+
15+
```rust
16+
<code>
17+
```
18+
19+
I expected to see this happen: *explanation*
20+
21+
Instead, this happened: *explanation*
22+
23+
### Meta
24+
25+
- `cargo clippy -V`: e.g. clippy 0.0.212 (f455e46 2020-06-20)
26+
- `rustc -Vv`:
27+
```
28+
rustc 1.46.0-nightly (f455e46ea 2020-06-20)
29+
binary: rustc
30+
commit-hash: f455e46eae1a227d735091091144601b467e1565
31+
commit-date: 2020-06-20
32+
host: x86_64-unknown-linux-gnu
33+
release: 1.46.0-nightly
34+
LLVM version: 10.0
35+
```

0 commit comments

Comments
 (0)