about summary refs log tree commit diff
path: root/.github/ISSUE_TEMPLATE/diagnostics.yaml
blob: 54bf2bc6ee242e2cb8ebceb00934505d282ddeef (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
69
70
71
72
73
74
75
76
77
78
name: Diagnostic issue
description: Create a bug report or feature request for a change to `rustc`'s error output
labels: ["A-diagnostics", "T-compiler"]
body:
  - type: markdown
    attributes:
      value: |
        Thank you for filing a diagnostics bug report! 🐛

        Please provide a short summary of the bug, along with any information you feel relevant to replicating the bug.

        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.
  - type: textarea
    id: code
    attributes:
      label: Code
      description: Please provide code that can reproduce the problem
      placeholder: code
      render: Rust
    validations:
      required: true
  - type: textarea
    id: output
    attributes:
      label: Current output
      description: Please provide the `rustc` output you see
      placeholder: rustc output
      render: Shell
    validations:
      required: true
  - type: textarea
    id: desired-output
    attributes:
      label: Desired output
      description: Please provide what the output *should* be
      placeholder: proposed output
      render: Shell
    validations:
      required: false
  - type: textarea
    id: rationale
    attributes:
      label: Rationale and extra context
      description: If the problem is not self-explanatory, please provide a rationale for the change.
    validations:
      required: false
  - type: textarea
    id: other-output
    attributes:
      label: Other cases
      description: If dramatically different output is caused by small changes, consider also adding them here.
      render: Rust
    validations:
      required: false
  - type: textarea
    id: version
    attributes:
      label: Rust Version
      description: Please provide the `rustc` version, `rustc --version --verbose`. Make sure that you're using the latest version of the compiler, and not an outdated stable or nightly release!
      placeholder: |
        $ rustc --version --verbose
        rustc 1.XX.Y (SHORTHASH DATE)
        binary: rustc
        commit-hash: LONGHASHVALUE
        commit-date: DATE
        host: PLATFORMTRIPLE
        release: 1.XX.Y
        LLVM version: XX.YY.ZZ
      render: Shell
    validations:
      required: true
  - type: textarea
    id: extra
    attributes:
      label: Anything else?
      description: If you have more details you want to give us to reproduce this issue, please add it here
    validations:
      required: false