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.
I have tried various combinations of stringify! and it seems that Rust just does not like anything but plain string literal there. I assume that the #[doc] support might be quite close to what I want here for the features.
Even if I use #[cfg(feature = stringify!($feature))] I get:
error: expected unsuffixed literal or identifier, found `stringify`
I wonder if there is a way to express the following macro:
This gives me quite a cryptic message when use:
I have tried various combinations of
stringify!and it seems that Rust just does not like anything but plain string literal there. I assume that the#[doc]support might be quite close to what I want here for the features.Even if I use
#[cfg(feature = stringify!($feature))]I get: