This repository was archived by the owner on Oct 6, 2024. It is now read-only.
This repository was archived by the owner on Oct 6, 2024. It is now read-only.
$crate is not a valid identifier inside paste::item! #3
Closed
Description
demo reproduction here https://github.com/dtolnay/paste/pull/2/files
I found that Im not able to refer to a crate local macro inside a paste::item!
block, that is the ability to express $crate::foo!
which is required to enable rust 2018 style imports ( aka ditching #[macro_use]
.
The specific context is here where I'm using paste to generate idents which are inputs for another crate local macro
Metadata
Metadata
Assignees
Labels
No labels