Searched defs:LexError (Results 1 – 9 of 9) sorted by relevance
| /third_party/rust/crates/proc-macro2/src/ |
| D | wrapper.rs | 30 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
|
| D | lib.rs | 197 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
|
| D | fallback.rs | 49 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()
|
| D | parse.rs | 168 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/ |
| D | lexed_str.rs | 25 struct LexError { struct 26 msg: String, 27 token: u32,
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/proc-macro-srv/src/server/ |
| D | token_stream.rs | 103 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/ |
| D | lib.rs | 90 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/ |
| D | enum.rs | 246 LexError(parser::lexer::LexError), enumerator
|
| /third_party/rust/rust/src/tools/rustfmt/tests/source/ |
| D | enum.rs | 185 #[fail(display = "Parsing error: {}", 0)] LexError(parser::lexer::LexError), enumerator
|