Skip to content

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

Closed
@petrochenkov

Description

@petrochenkov

... 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.

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

    No branches or pull requests

    Issue actions