Skip to content

error: unresolved name a::b::c [E0425] doesn't indicate which component doesn't exist #30926

Closed
@Zoxc

Description

@Zoxc

The unresolved name error message should indicate which path component it can't resolve.

For example:

../src/src/libstd\sys/common\unwind/mod.rs:148:27: 148:39 error: unresolved name `imp::payload` [E0425]
../src/src/libstd\sys/common\unwind/mod.rs:148         let mut payload = imp::payload();
                                                                         ^~~~~~~~~~~~

Here we are unable to tell if imp or payload doesn't resolve.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-diagnosticsArea: Messages for errors, warnings, and lints

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions