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 was archived by the owner on Oct 6, 2024. It is now read-only.
error: unexpected token: `stringify` --> src/main.rs:3:9 |3 | / paste::item! {4 | | #[doc = $doc]5 | | pub struct Struct;6 | | } | |_________^...16 | call!(documentation); | --------------------- in this macro invocation | = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
And with a somewhat different message since 1.50.0:
error[E0658]: arbitrary expressions in key-value attributes are unstable --> src/main.rs:12:16 |12 | repro!(stringify!($name)); | ^^^^^^^^^^^^^^^^^...16 | call!(documentation); | --------------------- in this macro invocation | = note: see issue #78835 <https://github.com/rust-lang/rust/issues/78835> for more information = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)