Skip to content

Global paths cannot start with crate #53770

Closed
@cramertj

Description

@cramertj

There was a recent regression in the ability to write code like

use {
    crate::{...},
    ...
};

It used to work under the new edition but now reports "failed to resolve. global paths cannot start with crate". cc @eddyb, @petrochenkov

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions