Skip to content

Path resolution semantics should be hygenic #53007

Closed
@djrenren

Description

@djrenren

Macros written in 2018 edition that are expanded within 2015 edition crates, should still get to use 2018 path resolution.

That is, if the macro foo! expands to ::random::prelude::random() this should work when invoked in 2015 even if random was not previously mentioned via extern crate

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions