Home
last modified time | relevance | path

Searched defs:LexError (Results 1 – 4 of 4) sorted by relevance

/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs29 pub(crate) enum LexError { enum
34 impl LexError { impl
107 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
119 fn proc_macro_parse(src: &str) -> Result<proc_macro::TokenStream, LexError> { in proc_macro_parse() argument
256 impl LexError { impl
265 impl From<proc_macro::LexError> for LexError { implementation
271 impl From<fallback::LexError> for LexError { implementation
277 impl Debug for LexError { implementation
286 impl Display for LexError { implementation
960 fn compiler_literal_from_str(repr: &str) -> Result<proc_macro::Literal, LexError> { in compiler_literal_from_str() argument
Dlib.rs177 pub struct LexError { struct
178 inner: imp::LexError, argument
179 _marker: Marker,
227 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
298 impl LexError { impl
304 impl Debug for LexError { implementation
310 impl Display for LexError { implementation
316 impl Error for LexError {} implementation
1267 fn from_str(repr: &str) -> Result<Self, LexError> { in from_str() argument
Dfallback.rs40 pub(crate) struct LexError { struct
44 impl LexError { implementation
185 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
199 impl Display for LexError { implementation
Dparse.rs153 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream() argument
238 fn lex_error(cursor: Cursor) -> LexError { in lex_error()