Searched defs:ExpandError (Results 1 – 9 of 9) sorted by relevance
| /third_party/rust/rust/src/tools/rust-analyzer/crates/mbe/src/ |
| D | lib.rs | 74 pub enum ExpandError { enum 86 impl ExpandError { impl 87 fn binding_error(e: impl Into<Box<str>>) -> ExpandError { in binding_error() 92 impl fmt::Display for ExpandError { implementation
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/mbe/src/expander/ |
| D | transcriber.rs | 18 fn get(&self, name: &str) -> Result<&Binding, ExpandError> { in get() argument 29 ) -> Result<Fragment, ExpandError> { in get_fragment() argument
|
| D | matcher.rs | 106 fn add_err(&mut self, err: ExpandError) { in add_err()
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-expand/src/ |
| D | builtin_fn_macro.rs | 605 ) -> Result<(), ExpandError> { in concat_bytes_expand_subtree() argument 655 ) -> Result<FileId, ExpandError> { in relative_file() argument 669 fn parse_string(tt: &tt::Subtree) -> Result<String, ExpandError> { in parse_string() argument 693 ) -> Result<(triomphe::Arc<(::tt::Subtree<::tt::TokenId>, TokenMap)>, FileId), ExpandError> { in include_arg_to_tt() argument
|
| D | lib.rs | 57 pub enum ExpandError { enum 64 impl ExpandError { impl 70 impl From<mbe::ExpandError> for ExpandError { implementation 76 impl fmt::Display for ExpandError { implementation
|
| D | builtin_derive_macro.rs | 121 fn from(value: Option<FieldList>, token_map: &TokenMap) -> Result<Self, ExpandError> { in from() argument 193 fn parse_adt(tt: &tt::Subtree) -> Result<BasicAdtInfo, ExpandError> { in parse_adt() argument 305 fn name_to_token(token_map: &TokenMap, name: Option<ast::Name>) -> Result<tt::Ident, ExpandError> { in name_to_token() argument
|
| D | db.rs | 139 ExpandError, in include_expand() argument
|
| /third_party/rust/rust/library/proc_macro/src/ |
| D | lib.rs | 111 pub struct ExpandError; struct 114 impl fmt::Display for ExpandError { implementation 121 impl error::Error for ExpandError {} implementation 124 impl !Send for ExpandError {} implementation 127 impl !Sync for ExpandError {} implementation 153 pub fn expand_expr(&self) -> Result<TokenStream, ExpandError> { in expand_expr() argument
|
| /third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/ |
| D | expander.rs | 114 error: Option<ExpandError>, in enter_expand_inner()
|