Trait 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); }
Unstable (
rustc_private
)Required Methods
fn obsolete(&mut self, sp: Span, kind: ObsoleteSyntax)
Unstable (
rustc_private
)Reports an obsolete syntax non-fatal error.
fn report(&mut self, sp: Span, kind: ObsoleteSyntax, kind_str: &str, desc: &str, error: bool)
Unstable (
rustc_private
)Implementors
impl<'a> ParserObsoleteMethods for Parser<'a>