Searched defs:LexError (Results 1 – 4 of 4) sorted by relevance
29 pub(crate) enum LexError { enum34 impl LexError { impl107 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument119 fn proc_macro_parse(src: &str) -> Result<proc_macro::TokenStream, LexError> { in proc_macro_parse() argument256 impl LexError { impl265 impl From<proc_macro::LexError> for LexError { implementation271 impl From<fallback::LexError> for LexError { implementation277 impl Debug for LexError { implementation286 impl Display for LexError { implementation960 fn compiler_literal_from_str(repr: &str) -> Result<proc_macro::Literal, LexError> { in compiler_literal_from_str() argument
177 pub struct LexError { struct178 inner: imp::LexError, argument179 _marker: Marker,227 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument298 impl LexError { impl304 impl Debug for LexError { implementation310 impl Display for LexError { implementation316 impl Error for LexError {} implementation1267 fn from_str(repr: &str) -> Result<Self, LexError> { in from_str() argument
40 pub(crate) struct LexError { struct44 impl LexError { implementation185 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument199 impl Display for LexError { implementation
153 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream() argument238 fn lex_error(cursor: Cursor) -> LexError { in lex_error()