Skip to content

Include Stabilization version in the tracking issue template #134990

@joshka

Description

@joshka
Contributor

Location

  • Tracking issues
  • RFCs
  • Stabilization Issues
  • Unstable book
  • Compiler error messages

Summary

In a CI build against my crate's declared MSRV, I get this build failure:

error[E0658]: lint reasons are experimental
  --> webfinger-rs/src/types/rel.rs:6:1
   |
6  | / #[nutype(derive(
7  | |     Debug,
8  | |     Display,
9  | |     Clone,
...  |
19 | |     Eq,
20 | | ))]
   | |___^
   |
   = note: see issue #54503 <https://github.com/rust-lang/rust/issues/54503> for more information
   = note: this error originates in the attribute macro `nutype` (in Nightly builds, run with -Z macro-backtrace for more info)

The fix for this is to bump my MSRV, which I'm fine with doing. But the process for finding what version this feature was introduced in is convoluted and doesn't have any path from the error message. A good place for that information to live would the in the first comment of the tracking issue link. Adding the info to the RFC and stabilization issue would be nice too. The only place where this is recorded currently is the rust blog https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html#lint-reasons

Obviously this is just one case, but it's something I've seen happen a few times. The underlying goal of this issue is that the link to the tracking issue is not a dead end for fixing the issue, but instead contains enough information to fix immediately.

Activity

added
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and tools
on Jan 1, 2025
added
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Jan 1, 2025
the8472

the8472 commented on Jan 2, 2025

@the8472
Member

The stabilization PR has an attached milestone. Alas, in this case the tracking issue wasn't properly updated, I have rectified that now.

joshka

joshka commented on Jan 2, 2025

@joshka
ContributorAuthor
the8472

the8472 commented on Jan 2, 2025

@the8472
Member

The newest is from 2020

added
C-enhancementCategory: An issue proposing an enhancement or a PR with one.
A-metaArea: Issues & PRs about the rust-lang/rust repository itself
and removed
needs-triageThis issue may need triage. Remove it if it has been sufficiently triaged.
on Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsA-metaArea: Issues & PRs about the rust-lang/rust repository itselfC-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @joshka@the8472@jieyouxu@rustbot

        Issue actions

          Include Stabilization version in the tracking issue template · Issue #134990 · rust-lang/rust