-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Add GitHub issue templates #68413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add GitHub issue templates #68413
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
name: Blank Issue | ||
about: Create a blank issue. | ||
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
name: Bug Report | ||
about: Create a bug report for Rust. | ||
labels: C-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 | ||
<!-- | ||
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. | ||
--> | ||
|
||
`rustc --version --verbose`: | ||
``` | ||
<version> | ||
``` | ||
|
||
<!-- | ||
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> | ||
|
||
``` | ||
<backtrace> | ||
``` | ||
XAMPPRocky marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
</p> | ||
</details> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: Rust Programming Language Forum | ||
url: https://users.rust-lang.org | ||
about: Please ask and answer questions about Rust here. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
XAMPPRocky marked this conversation as resolved.
Show resolved
Hide resolved
|
||
name: Internal Compiler Error | ||
about: Create a report for an internal compiler error in rustc. | ||
labels: C-bug, I-ICE, T-compiler | ||
--- | ||
<!-- | ||
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 | ||
|
||
``` | ||
<code> | ||
``` | ||
|
||
|
||
### 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. | ||
--> | ||
|
||
`rustc --version --verbose`: | ||
``` | ||
<version> | ||
``` | ||
|
||
### Error output | ||
|
||
``` | ||
<output> | ||
``` | ||
|
||
<!-- | ||
Include a backtrace in the code block by setting `RUST_BACKTRACE=1` in your | ||
environment. E.g. `RUST_BACKTRACE=1 cargo build`. | ||
--> | ||
<details><summary><strong>Backtrace</strong></summary> | ||
<p> | ||
|
||
``` | ||
<backtrace> | ||
``` | ||
|
||
</p> | ||
</details> | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
name: Tracking Issue | ||
about: A tracking issue for a feature in Rust. | ||
title: Tracking Issue for XXX | ||
labels: C-tracking-issue | ||
--- | ||
<!-- | ||
Thank you for creating a tracking issue! 📜 Tracking issues are for tracking a | ||
feature from implementation to stabilisation. Make sure to include the relevant | ||
RFC for the feature if it has one. Otherwise provide a short summary of the | ||
feature and link any relevant PRs or issues, and remove any sections that are | ||
not relevant to the feature. | ||
XAMPPRocky marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
Remember to add team labels to the tracking issue. | ||
For a language team feature, this would e.g., be `T-lang`. | ||
Such a feature should also be labeled with e.g., `F-my_feature`. | ||
This label is used to associate issues (e.g., bugs and design questions) to the feature. | ||
--> | ||
|
||
This is a tracking issue for the RFC "XXX" (rust-lang/rfcs#NNN). | ||
XAMPPRocky marked this conversation as resolved.
Show resolved
Hide resolved
|
||
The feature gate for the issue is `#![feature(FFF)]`. | ||
|
||
### About tracking issues | ||
|
||
Tracking issues are used to record the overall progress of implementation. | ||
They are also uses as hubs connecting to other relevant issues, e.g., bugs or open design questions. | ||
A tracking issue is however *not* meant for large scale discussion, questions, or bug reports about a feature. | ||
Instead, open a dedicated issue for the specific matter and add the relevant feature gate label. | ||
|
||
### Steps | ||
<!-- | ||
Include each step required to complete the feature. Typically this is a PR | ||
implementing a feature, followed by a PR that stabilises the feature. However | ||
for larger features an implementation could be broken up into multiple PRs. | ||
--> | ||
|
||
- [ ] Implement the RFC (cc @rust-lang/XXX -- can anyone write up mentoring | ||
instructions?) | ||
- [ ] Adjust documentation ([see instructions on rustc-guide][doc-guide]) | ||
- [ ] Stabilization PR ([see instructions on rustc-guide][stabilization-guide]) | ||
|
||
[stabilization-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#stabilization-pr | ||
[doc-guide]: https://rust-lang.github.io/rustc-guide/stabilization_guide.html#documentation-prs | ||
|
||
### Unresolved Questions | ||
<!-- | ||
Include any open questions that need to be answered before the feature can be | ||
stabilised. | ||
--> | ||
|
||
XXX --- list all the "unresolved questions" found in the RFC to ensure they are | ||
not forgotten | ||
XAMPPRocky marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Implementation history | ||
|
||
<!-- | ||
Include a list of all the PRs that were involved in implementing the feature. | ||
--> |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.