summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/.github/ISSUE_TEMPLATE/false_positive.yml
blob: 561b65c93a7f9329799d2be796c2590b1ae215dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: Bug Report (False Positive)
description: Create a bug report about a wrongly emitted lint warning
labels: ["C-bug", "I-false-positive"]
body:
  - type: markdown
    attributes:
      value: Thank you for filing a bug report! 🐛
  - type: textarea
    id: problem
    attributes:
      label: Summary
      description: >
        Please provide a short summary of the bug, along with any information
        you feel relevant to replicate the bug.
    validations:
      required: true
  - type: input
    id: lint-name
    attributes:
      label: Lint Name
      description: Please provide the lint name.
  - type: textarea
    id: reproducer
    attributes:
      label: Reproducer
      description: >
        Please provide the code and steps to reproduce the bug together with the
        output from Clippy.
      value: |
        I tried this code:

        ```rust
        <code>
        ```

        I saw this happen:

        ```
        <output>
        ```

        I expected to see this happen:
  - type: textarea
    id: version
    attributes:
      label: Version
      description: "Rust version (`rustc -Vv`)"
      placeholder: |
        rustc 1.46.0-nightly (f455e46ea 2020-06-20)
        binary: rustc
        commit-hash: f455e46eae1a227d735091091144601b467e1565
        commit-date: 2020-06-20
        host: x86_64-unknown-linux-gnu
        release: 1.46.0-nightly
        LLVM version: 10.0
      render: text
  - type: textarea
    id: labels
    attributes:
      label: Additional Labels
      description: >
        Additional labels can be added to this issue by including the following
        command
      placeholder: |
        @rustbot label +<label>

        Common labels for this issue type are:
        * `I-suggestion-causes-error`