Add issue templates ported from rust-clippy

This commit is contained in:
Philip Herron 2021-05-14 13:52:02 +01:00
parent 39ff3ddc23
commit d89249208a
4 changed files with 72 additions and 0 deletions

4
.github/ISSUE_TEMPLATE/blank_issue.md vendored Normal file
View File

@ -0,0 +1,4 @@
---
name: Blank Issue
about: Create a blank issue.
---

25
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,25 @@
---
name: Bug Report
about: Create a bug report for Rust GCC
labels: bug
---
<!--
Thank you for filing a bug report! 🐛 Please provide a short summary of the bug,
along with any information you feel relevant to replicating the bug.
-->
I tried this code:
```rust
<code>
```
I expected to see this happen: *explanation*
Instead, this happened: *explanation*
### Meta
- What version of Rust GCC were you using, git sha if possible.

42
.github/ISSUE_TEMPLATE/ice.md vendored Normal file
View File

@ -0,0 +1,42 @@
---
name: Internal Compiler Error
about: Create a report for an internal compiler error in Rust GCC.
labels: bug, ICE
---
<!--
Thank you for finding an Internal Compiler Error! 🧊 If possible, try to provide
a minimal verifiable example. You can read "Rust Bug Minimization Patterns" for
how to create smaller examples.
http://blog.pnkfx.org/blog/2019/11/18/rust-bug-minimization-patterns/
-->
### Code
```rust
<code>
```
### Meta
- What version of Rust GCC were you using, git sha if possible.
### Error output
```
<output>
```
<!--
Include a backtrace if available.
-->
<details><summary>Backtrace</summary>
<p>
```
<backtrace>
```
</p>
</details>

View File

@ -8,6 +8,7 @@ in the git commit message.
Here is a checklist to help you with your PR.
- \[ ] GCC code require copyright assignment: https://gcc.gnu.org/contribute.html
- \[ ] Read contributing guidlines
- \[ ] `make check-rust` passes locally
- \[ ] Run `clang-format`