diff options
Diffstat (limited to 'crates/ra_mbe/src/mbe_expander.rs')
-rw-r--r-- | crates/ra_mbe/src/mbe_expander.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/ra_mbe/src/mbe_expander.rs b/crates/ra_mbe/src/mbe_expander.rs index 1328e4349..204c30e3d 100644 --- a/crates/ra_mbe/src/mbe_expander.rs +++ b/crates/ra_mbe/src/mbe_expander.rs | |||
@@ -21,9 +21,7 @@ fn expand_rules(rules: &[crate::Rule], input: &tt::Subtree) -> ExpandResult<tt:: | |||
21 | let (new_match, bindings_err) = matcher::match_(&rule.lhs, input); | 21 | let (new_match, bindings_err) = matcher::match_(&rule.lhs, input); |
22 | if bindings_err.is_none() { | 22 | if bindings_err.is_none() { |
23 | // if we find a rule that applies without errors, we're done | 23 | // if we find a rule that applies without errors, we're done |
24 | eprintln!("match without errors: {:?}", new_match); | ||
25 | let (res, transcribe_err) = transcriber::transcribe(&rule.rhs, &new_match.bindings); | 24 | let (res, transcribe_err) = transcriber::transcribe(&rule.rhs, &new_match.bindings); |
26 | eprintln!("transcribe_err = {:?}", transcribe_err); | ||
27 | if transcribe_err.is_none() { | 25 | if transcribe_err.is_none() { |
28 | return (res, None); | 26 | return (res, None); |
29 | } | 27 | } |