Struct syntex_syntax::config::CfgDiagReal [] [src]

pub struct CfgDiagReal<'a, 'b> {
    pub diag: &'a Handler,
    pub feature_gated_cfgs: &'b mut Vec<GatedCfgAttr>,
}

Fields

diag: &'a Handler feature_gated_cfgs: &'b mut Vec<GatedCfgAttr>

Trait Implementations

impl<'a, 'b> CfgDiag for CfgDiagReal<'a, 'b>
[src]

fn emit_error<F>(&mut self, f: F) where F: FnMut(&Handler)

fn flag_gated<F>(&mut self, f: F) where F: FnMut(&mut Vec<GatedCfgAttr>)