about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-01-07 02:09:55 +0000
committerMichael Goulet <michael@errs.io>2024-01-07 02:09:55 +0000
commit373aeed24d86a6ece0a1d7a067fcc83a6c5bd41a (patch)
tree41b803d0dbb94fcac23ac1e050b2033806b4a409
parentfde0e98247dd4dd13af6cfe21f9eab2e54d50f12 (diff)
downloadrust-373aeed24d86a6ece0a1d7a067fcc83a6c5bd41a.tar.gz
rust-373aeed24d86a6ece0a1d7a067fcc83a6c5bd41a.zip
Ask for rustc version in diagnostic reports, remind users to update their toolchain
-rw-r--r--.github/ISSUE_TEMPLATE/diagnostics.yaml19
-rw-r--r--.github/ISSUE_TEMPLATE/ice.yaml2
2 files changed, 17 insertions, 4 deletions
diff --git a/.github/ISSUE_TEMPLATE/diagnostics.yaml b/.github/ISSUE_TEMPLATE/diagnostics.yaml
index 873fbaaf654..54bf2bc6ee2 100644
--- a/.github/ISSUE_TEMPLATE/diagnostics.yaml
+++ b/.github/ISSUE_TEMPLATE/diagnostics.yaml
@@ -52,10 +52,23 @@ body:
       render: Rust
     validations:
       required: false
-  - type: markdown
+  - type: textarea
+    id: version
     attributes:
-      value: |
-        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. The output might also be different depending on the Edition.
+      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:
diff --git a/.github/ISSUE_TEMPLATE/ice.yaml b/.github/ISSUE_TEMPLATE/ice.yaml
index 7bec05cc575..13be13d4f99 100644
--- a/.github/ISSUE_TEMPLATE/ice.yaml
+++ b/.github/ISSUE_TEMPLATE/ice.yaml
@@ -40,7 +40,7 @@ body:
     id: version
     attributes:
       label: Rust Version
-      description: Please provide the `rustc` version, `rustc --version --verbose`
+      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)