diff options
Diffstat (limited to 'crates/ra_mbe')
-rw-r--r-- | crates/ra_mbe/src/mbe_expander.rs | 1 | ||||
-rw-r--r-- | crates/ra_mbe/src/syntax_bridge.rs | 1 |
2 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 c2a5702f0..5fb8414b3 100644 --- a/crates/ra_mbe/src/mbe_expander.rs +++ b/crates/ra_mbe/src/mbe_expander.rs | |||
@@ -11,7 +11,6 @@ use rustc_hash::FxHashMap; | |||
11 | use crate::{ExpandError, ExpandResult}; | 11 | use crate::{ExpandError, ExpandResult}; |
12 | 12 | ||
13 | pub(crate) fn expand(rules: &crate::MacroRules, input: &tt::Subtree) -> ExpandResult<tt::Subtree> { | 13 | pub(crate) fn expand(rules: &crate::MacroRules, input: &tt::Subtree) -> ExpandResult<tt::Subtree> { |
14 | eprintln!("expanding input: {:?}", input); | ||
15 | let (mut result, mut unmatched_tokens, mut unmatched_patterns, mut err) = ( | 14 | let (mut result, mut unmatched_tokens, mut unmatched_patterns, mut err) = ( |
16 | tt::Subtree::default(), | 15 | tt::Subtree::default(), |
17 | usize::max_value(), | 16 | usize::max_value(), |
diff --git a/crates/ra_mbe/src/syntax_bridge.rs b/crates/ra_mbe/src/syntax_bridge.rs index 8aa3b906b..fcb73fbc7 100644 --- a/crates/ra_mbe/src/syntax_bridge.rs +++ b/crates/ra_mbe/src/syntax_bridge.rs | |||
@@ -73,7 +73,6 @@ pub fn token_tree_to_syntax_node( | |||
73 | tt: &tt::Subtree, | 73 | tt: &tt::Subtree, |
74 | fragment_kind: FragmentKind, | 74 | fragment_kind: FragmentKind, |
75 | ) -> Result<(Parse<SyntaxNode>, TokenMap), ExpandError> { | 75 | ) -> Result<(Parse<SyntaxNode>, TokenMap), ExpandError> { |
76 | eprintln!("token_tree_to_syntax_node {:?} as {:?}", tt, fragment_kind); | ||
77 | let tmp; | 76 | let tmp; |
78 | let tokens = match tt { | 77 | let tokens = match tt { |
79 | tt::Subtree { delimiter: None, token_trees } => token_trees.as_slice(), | 78 | tt::Subtree { delimiter: None, token_trees } => token_trees.as_slice(), |