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
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`
The text was updated successfully, but these errors were encountered:
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:The text was updated successfully, but these errors were encountered: