Skip to content

Prefer std paths to core/alloc paths in autoimport etc. #2915

@flodiebold

Description

@flodiebold

Autoimport and path qualification should prefer to use std paths before core or alloc. I think this probably requires a small hack here to hardcode this preference; at least I can't think of any principled rule for this.

(Note that this is unrelated to no_std; once we have no_std support, the path finding algorithm should automatically only find core paths in such crates.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyE-has-instructionsIssue has some instructions and pointers to code to get started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions