Skip to content

Error code files (diagnostics.rs) reserve a valuable module name #60017

@petrochenkov

Description

@petrochenkov
Contributor

... that can be used for diagnostics-related code in general, rather than for error code descriptions specifically.

Suggestion: rename the files with error codes (there are about 10 of them) to error_codes.rs to free the name diagnostics for something more useful.

Additionally: rename librustc_resolve/error_reporting.rs to librustc_resolve/diagnostics.rs.

Activity

added
A-diagnosticsArea: Messages for errors, warnings, and lints
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.
on Apr 16, 2019
added a commit that references this issue on Apr 18, 2019
d6f513e
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-diagnosticsArea: Messages for errors, warnings, and lintsE-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

      Participants

      @petrochenkov

      Issue actions

        Error code files (`diagnostics.rs`) reserve a valuable module name · Issue #60017 · rust-lang/rust