]> git.lizzy.rs Git - rust.git/blobdiff - .github/ISSUE_TEMPLATE/bug_report.md
Clearly signal purpose of the yaml template
[rust.git] / .github / ISSUE_TEMPLATE / bug_report.md
index 87c18cdee66c5d24d96ddf95aafe305a9b2beaf7..5675579bc964a6aab3827db3b3c519c731f98143 100644 (file)
@@ -1,6 +1,6 @@
 ---
 name: Bug Report
-about: Create a bug report for Clippy
+about: Create a bug report for Rust.
 labels: C-bug
 ---
 <!--
@@ -19,25 +19,26 @@ I expected to see this happen: *explanation*
 Instead, this happened: *explanation*
 
 ### Meta
+<!--
+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.
+-->
 
-**Rust version (`rustc -Vv`):**
-
+`rustc --version --verbose`:
 ```
-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
+<version>
 ```
 
 <!--
-Additional labels can be added to this issue by including the following command
-(without the space after the @ symbol):
+Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your
+environment. E.g. `RUST_BACKTRACE=1 cargo build`.
+-->
+<details><summary>Backtrace</summary>
+<p>
 
-`@rustbot label +<label>`
+```
+<backtrace>
+```
 
-Common labels for this issue type are:
-* `I-suggestion-causes-error`
--->
+</p>
+</details>