Skip to content

Commit 0129478

Browse files
Fix r-a lexer support for raw lifetimes
1 parent aeba0f5 commit 0129478

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tools/rust-analyzer/crates/parser/src/lexed_str.rs

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ impl<'a> Converter<'a> {
195195
}
196196
LIFETIME_IDENT
197197
}
198+
rustc_lexer::TokenKind::RawLifetime => LIFETIME_IDENT,
198199

199200
rustc_lexer::TokenKind::Semi => T![;],
200201
rustc_lexer::TokenKind::Comma => T![,],

0 commit comments

Comments
 (0)