Stream: t-compiler/rust-analyzer

Topic: `$crate` and "Expand macros recursively"


Laurențiu (Feb 02 2021 at 19:52, on Zulip):

The "expand macros" command prints $crate as $crate, which is reasonable, but crate or the exact crate name might be more useful since you'd get "more valid" (and closer to cargo expand) code. WDYT?

Jonas Schievink [he/him] (Feb 02 2021 at 19:54, on Zulip):

yes, this is a good idea

Jonas Schievink [he/him] (Feb 02 2021 at 19:54, on Zulip):

I almost thought that we accept $crate paths syntactically because of the odd internal handling

Last update: Jul 26 2021 at 13:30UTC