Home
last modified time | relevance | path

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

/linux/rust/proc-macro2/
H A Dwrapper.rs38 pub(crate) enum LexError { enum
96 pub(crate) fn from_str_checked(src: &str) -> Result<Self, LexError> { in from_str_checked() argument
266 impl LexError { impl
275 impl From<proc_macro::LexError> for LexError { implementation
281 impl From<fallback::LexError> for LexError { implementation
287 impl Debug for LexError { implementation
300 impl Display for LexError { implementation
790 pub(crate) fn from_str_checked(repr: &str) -> Result<Self, LexError> { in from_str_checked() argument
H A Dlib.rs204 pub struct LexError { struct
205 inner: imp::LexError, argument
206 _marker: ProcMacroAutoTraits,
254 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
329 impl LexError { impl
335 impl Debug for LexError { implementation
341 impl Display for LexError { implementation
347 impl Error for LexError {} implementation
1284 fn from_str(repr: &str) -> Result<Self, LexError> { in from_str() argument
H A Dfallback.rs53 pub(crate) struct LexError { struct
57 impl LexError { argument
76 pub(crate) fn from_str_checked(src: &str) -> Result<Self, LexError> { in from_str_checked() argument
212 impl Display for LexError { implementation
951 pub(crate) fn from_str_checked(repr: &str) -> Result<Self, LexError> { in from_str_checked() argument
1223 fn from_str_checked(src: &str) -> Result<Self, imp::LexError> { in from_str_checked()
H A Dparse.rs170 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream() argument
255 fn lex_error(cursor: Cursor) -> LexError { in lex_error()