Conditionally derived traits using cfg_attr
are not documented as being behind a feature flag.
#103300
Labels
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
When conditionally deriving a trait using
cfg_attr
, thedoc_cfg
feature gate is not documented. A minimal example can be found here, but is summarised below:Example:
Generates:
Expectation:
The text was updated successfully, but these errors were encountered: