Skip to main content

roam

Macro roam 

Source
roam!() { /* proc-macro */ }
Expand description

Emits conditionally included code based on nightly feature availability.

  • ++[...] includes content only when feature = "nightly" is enabled
  • --[...] includes content only when feature = "nightly" is disabled

This macro processes the input token stream and conditionally includes or excludes bracketed content based on the feature flag. This enables writing code that uses nightly syntax when available but falls back to stable alternatives when not.