Struct syntax::feature_gate::GatedCfg [−][src]
pub struct GatedCfg { /* fields omitted */ }
Methods
impl GatedCfg
[src]
impl GatedCfg
pub fn gate(cfg: &MetaItem) -> Option<GatedCfg>
[src]
pub fn gate(cfg: &MetaItem) -> Option<GatedCfg>
pub fn check_and_emit(&self, sess: &ParseSess, features: &Features)
[src]
pub fn check_and_emit(&self, sess: &ParseSess, features: &Features)