mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Option begone part 2
This commit is contained in:
parent
96a774261f
commit
a2a3fecae3
31 changed files with 113 additions and 152 deletions
|
@ -45,7 +45,7 @@ pub(crate) fn expand_rules(
|
|||
transcriber::transcribe(&rule.rhs, &match_.bindings);
|
||||
ExpandResult { value, err: match_.err.or(transcribe_err) }
|
||||
} else {
|
||||
ExpandResult::with_err(
|
||||
ExpandResult::new(
|
||||
tt::Subtree { delimiter: tt::Delimiter::unspecified(), token_trees: vec![] },
|
||||
ExpandError::NoMatchingRule,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue