[−][src]Macro dirmod_docsrs_test::feature
feature!() { /* proc-macro */ }
Includes modules based on the feature
cfg attribute.
This macro has exactly the same semantics and format as
os!
except it uses #[cfg(feature = $module)]
instead of target_os
.
Parameters
ⓘThis example is not tested
feature!($vis [use] [|| [$error]]);
See `os! for explanation of the parameter values.