Skip to main content

reject_conditional

Function reject_conditional 

fn reject_conditional(variant: &Variant) -> Result<(), Error>
Expand description

Refuses a variant whose presence depends on a cfg.

No variant is conditional today. When one is, its gate belongs on the page — and deciding how to say it is a documentation decision, not something this generator should improvise by dropping the gate and publishing the variant as though it were always there.