We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3896a9f commit 6506956Copy full SHA for 6506956
1 file changed
src/tools/rust-analyzer/crates/parser/src/lexed_str.rs
@@ -255,8 +255,8 @@ impl<'a> Converter<'a> {
255
return;
256
}
257
258
- rustc_lexer::TokenKind::Lifetime { invalid } => {
259
- if *invalid {
+ rustc_lexer::TokenKind::Lifetime { starts_with_number } => {
+ if *starts_with_number {
260
errors.push("Lifetime name contains invalid characters".into());
261
262
LIFETIME_IDENT
0 commit comments