diff options
Diffstat (limited to 'crates/mbe/src/mbe_expander')
-rw-r--r-- | crates/mbe/src/mbe_expander/matcher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/mbe/src/mbe_expander/matcher.rs b/crates/mbe/src/mbe_expander/matcher.rs index 93ee77908..7aeef7be5 100644 --- a/crates/mbe/src/mbe_expander/matcher.rs +++ b/crates/mbe/src/mbe_expander/matcher.rs | |||
@@ -295,7 +295,7 @@ impl<'a> TtIter<'a> { | |||
295 | 295 | ||
296 | impl<'a> TreeSink for OffsetTokenSink<'a> { | 296 | impl<'a> TreeSink for OffsetTokenSink<'a> { |
297 | fn token(&mut self, kind: SyntaxKind, mut n_tokens: u8) { | 297 | fn token(&mut self, kind: SyntaxKind, mut n_tokens: u8) { |
298 | if kind == SyntaxKind::LIFETIME { | 298 | if kind == SyntaxKind::LIFETIME_IDENT { |
299 | n_tokens = 2; | 299 | n_tokens = 2; |
300 | } | 300 | } |
301 | for _ in 0..n_tokens { | 301 | for _ in 0..n_tokens { |