Skip to content

Commit 8851e4f

Browse files
Fix tools
1 parent 1b9b8e1 commit 8851e4f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

crates/parser/src/lexed_str.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ impl<'a> Converter<'a> {
198198
}
199199
LIFETIME_IDENT
200200
}
201+
rustc_lexer::TokenKind::UnknownPrefixLifetime => {
202+
err = "Unknown lifetime prefix";
203+
LIFETIME_IDENT
204+
}
205+
rustc_lexer::TokenKind::RawLifetime => {
206+
LIFETIME_IDENT
207+
}
201208

202209
rustc_lexer::TokenKind::Semi => T![;],
203210
rustc_lexer::TokenKind::Comma => T![,],

0 commit comments

Comments
 (0)