Skip to content

E0433 should not purely rely on letter case to report different error. #82140

@crlf0710

Description

@crlf0710

I've seen this:

error[E0433]: failed to resolve: use of undeclared crate or module `kern_node_subtype`

However kern_node_subtype is actually an enum type. In this crate i #[allow(non_camel_case_types)]. Since this is an error message not a suggestion i think it would be best if this could be improved somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lintsA-resolveArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions