Skip to content

Path resolution semantics should be hygenic #53007

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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