You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
I tried this and it seems to work as I would expect on Rust 1.24 (but not earlier versions) edad180. I will try to see if we can provide an implementation that would work on older compilers.
The sketchy way works for expression macros but not item macros. I would be okay making that change. @carllerche for your use case do you need this to work in item macros? I think that may be more complicated.
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 theenum ProcMacroHack
.This would help dealing with cases where the caller renames the
extern crate
that has the macro def.The text was updated successfully, but these errors were encountered: