Trait syntex_syntax::parse::obsolete::ParserObsoleteMethods
[−]
[src]
pub trait ParserObsoleteMethods { fn obsolete(&mut self, sp: Span, kind: ObsoleteSyntax); fn report(&mut self, sp: Span, kind: ObsoleteSyntax, kind_str: &str, desc: &str, error: bool); }
Required Methods
fn obsolete(&mut self, sp: Span, kind: ObsoleteSyntax)
Reports an obsolete syntax non-fatal error.
fn report(&mut self, sp: Span, kind: ObsoleteSyntax, kind_str: &str, desc: &str, error: bool)
Implementors
impl<'a> ParserObsoleteMethods for Parser<'a>