fn gate_cfg(
    gated_cfg: &GatedCfg,
    cfg_span: Span,
    sess: &ParseSess,
    features: &Features
)