Skip to content

stringify! on a ty macro value produces "an interpolated type" #8709

Description

@chris-morgan

Minimal test case:

macro_rules! sty(
    ($t:ty)=>(stringify!($t))
)
fn main() {
    println(sty!(~str));
}

Expected output:

~str

Actual output:

an interpolated type

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

    A-syntaxextArea: Syntax extensions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions