#[path]
does not accept macro-generated paths
#118312
Labels
A-attributes
Area: Attributes (`#[…]`, `#![…]`)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: the module is loaded from the expanded path
Instead, this happened:
(Attempted as a workaround for #117464 as
zbus-xmlgen
generates inner doc attributes).Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: