Skip to content

Make references to GitHub issues in diagnostics consistent #62976

Closed
@shepmaster

Description

@shepmaster

Some diagnostics include a link to GitHub issues. From the ui testsuite, I found at least these two patterns:

 = note: for more information, see https://github.com/rust-lang/rust/issues/51999
 = note: for more information, see issue #36887 <https://github.com/rust-lang/rust/issues/36887>

These should use the same format. My preference is for the latter:

see issue #XXXXX <https://github.com/rust-lang/rust/issues/XXXXX>

/cc @varkor

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions