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.rs28 pub(crate) enum LexError { enum
111 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
123 fn proc_macro_parse(src: &str) -> Result<proc_macro::TokenStream, LexError> { in proc_macro_parse() argument
260 impl LexError { implementation
269 impl From<proc_macro::LexError> for LexError { implementation
275 impl From<fallback::LexError> for LexError { implementation
281 impl Debug for LexError { implementation
294 impl Display for LexError { implementation
Dlib.rs191 pub struct LexError { struct
192 inner: imp::LexError, argument
193 _marker: Marker,
241 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
314 impl LexError { implementation
320 impl Debug for LexError { implementation
326 impl Display for LexError { implementation
332 impl Error for LexError {} implementation
1260 fn from_str(repr: &str) -> Result<Self, LexError> { in from_str() argument
Dfallback.rs39 pub(crate) struct LexError { struct
43 impl LexError { impl
172 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
186 impl Display for LexError { implementation
Dparse.rs168 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream() argument
253 fn lex_error(cursor: Cursor) -> LexError { in lex_error()