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

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

Fields

diag
feature_gated_cfgs

Trait Implementations

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

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

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