]> git.lizzy.rs Git - rust.git/blob - .github/ISSUE_TEMPLATE/diagnostics.yaml
Clearly signal purpose of the yaml template
[rust.git] / .github / ISSUE_TEMPLATE / diagnostics.yaml
1 name: Diagnostic issue
2 description: Create a bug report or feature request for a change to `rustc`'s error output
3 labels: ["A-diagnostics", "T-compiler"]
4 body:
5   - type: markdown
6     attributes:
7       value: |
8         Thank you for filing a diagnostics bug report! 🐛
9
10         Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug.
11
12         If you cannot produce a minimal reproduction case (something that would work in isolation), please provide the steps or even link to a repository that causes the problematic output to occur.
13   - type: textarea
14     id: code
15     attributes:
16       label: Code
17       description: Please provide code that can reproduce the problem
18       placeholder: code
19       render: Rust
20     validations:
21       required: true
22   - type: textarea
23     id: output
24     attributes:
25       label: Current output
26       description: Please provide the `rustc` output you see
27       placeholder: rustc output
28       render: Shell
29     validations:
30       required: true
31   - type: textarea
32     id: desired-output
33     attributes:
34       label: Desired output
35       description: Please provide what the output *should* be
36       placeholder: proposed output
37       render: Shell
38     validations:
39       required: false
40   - type: textarea
41     id: rationale
42     attributes:
43       label: Rationale and extra context
44       description: If the problem is not self-explanatory, please provide a rationale for the change.
45     validations:
46       required: false
47   - type: textarea
48     id: other-output
49     attributes:
50       label: Other cases
51       description: If dramatically different output is caused by small changes, consider also adding them here.
52       render: Rust
53     validations:
54       required: false
55   - type: markdown
56     attributes:
57       value: |
58         If you're using the stable version of the compiler, you should also check if the bug also exists in the beta or nightly versions. The output might also be different depending on the Edition.
59   - type: textarea
60     id: extra
61     attributes:
62       label: Anything else?
63       description: If you have more details you want to give us to reproduce this issue, please add it here
64     validations:
65       required: false