Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Provide access to $crate in the macro impl #19

Closed
@carllerche

Description

@carllerche

I'm not sure this is possible, but it is a follow up from our talk on IRC.

I'm wondering if it would be possible for the decl macro to include $crate in the enum ProcMacroHack.

This would help dealing with cases where the caller renames the extern crate that has the macro def.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions