Home
last modified time | relevance | path

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

/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs30 pub(crate) enum LexError { enum
88 pub(crate) fn from_str_checked(src: &str) -> Result<Self, LexError> { in from_str_checked() argument
258 impl LexError { impl
267 impl From<proc_macro::LexError> for LexError { implementation
273 impl From<fallback::LexError> for LexError { implementation
279 impl Debug for LexError { implementation
292 impl Display for LexError { implementation
807 pub(crate) fn from_str_checked(repr: &str) -> Result<Self, LexError> { in from_str_checked() argument
Dlib.rs197 pub struct LexError { struct
198 inner: imp::LexError, argument
199 _marker: ProcMacroAutoTraits,
247 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
322 impl LexError { impl
328 impl Debug for LexError { implementation
334 impl Display for LexError { implementation
340 impl Error for LexError {} implementation
1318 fn from_str(repr: &str) -> Result<Self, LexError> { in from_str() argument
Dfallback.rs49 pub(crate) struct LexError { struct
53 impl LexError { argument
72 pub(crate) fn from_str_checked(src: &str) -> Result<Self, LexError> { in from_str_checked() argument
197 impl Display for LexError { implementation
959 pub(crate) fn from_str_checked(repr: &str) -> Result<Self, LexError> { in from_str_checked() argument
1231 fn from_str_checked(src: &str) -> Result<Self, imp::LexError> { in from_str_checked()
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()
/third_party/rust/rust/src/tools/rust-analyzer/crates/parser/src/
Dlexed_str.rs25 struct LexError { struct
26 msg: String,
27 token: u32,
/third_party/rust/rust/src/tools/rust-analyzer/crates/proc-macro-srv/src/server/
Dtoken_stream.rs103 type LexError = String; typedef
115 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
/third_party/rust/rust/library/proc_macro/src/
Dlib.rs90 pub struct LexError; struct
93 impl fmt::Display for LexError { implementation
100 impl error::Error for LexError {} implementation
103 impl !Send for LexError {} implementation
105 impl !Sync for LexError {} implementation
173 fn from_str(src: &str) -> Result<TokenStream, LexError> { in from_str() argument
1418 fn from_str(src: &str) -> Result<Self, LexError> { in from_str() argument
/third_party/rust/rust/src/tools/rustfmt/tests/target/
Denum.rs246 LexError(parser::lexer::LexError), enumerator
/third_party/rust/rust/src/tools/rustfmt/tests/source/
Denum.rs185 #[fail(display = "Parsing error: {}", 0)] LexError(parser::lexer::LexError), enumerator