]> git.lizzy.rs Git - rust.git/blob - .github/ISSUE_TEMPLATE/diagnostics.md
:arrow_up: rust-analyzer
[rust.git] / .github / ISSUE_TEMPLATE / diagnostics.md
1 ---
2 name: Diagnostic issue
3 about: Create a bug report or feature request for a change to `rustc`'s error output
4 labels: A-diagnostics, T-compiler
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 If you cannot produce a minimal reproduction case (something that would work in
11 isolation), please provide the steps or even link to a repository that causes
12 the problematic output to occur.
13 -->
14
15 Given the following code: <!-- Please provide a link to play.rust-lang.org -->
16
17 ```rust
18 <code>
19 ```
20
21 The current output is:
22
23 ```
24 <rustc output>
25 ```
26
27 <!-- The following is not always necessary. -->
28 Ideally the output should look like:
29
30 ```
31 <proposed output>
32 ```
33
34 <!--
35 If the problem is not self-explanatory, please provide a rationale for the
36 change.
37 -->
38
39 <!--
40 If dramatically different output is caused by small changes, consider also
41 adding them here.
42
43 If you're using the stable version of the compiler, you should also check if the
44 bug also exists in the beta or nightly versions. The output might also be
45 different depending on the Edition.
46 -->