Skip to content

Commit 622f540

Browse files
committed
Auto merge of #130091 - matthiaskrgr:rollup-kalu1cs, r=matthiaskrgr
Rollup of 10 pull requests Successful merges: - #126452 (Implement raw lifetimes and labels (`'r#ident`)) - #129555 (stabilize const_float_bits_conv) - #129594 (explain the options bootstrap passes to curl) - #129677 (Don't build by-move body when async closure is tainted) - #129847 (Do not call query to compute coroutine layout for synthetic body of async closure) - #129869 (add a few more crashtests) - #130009 (rustdoc-search: allow trailing `Foo ->` arg search) - #130046 (str: make as_mut_ptr and as_bytes_mut unstably const) - #130047 (Win: Add dbghelp to the list of import libraries) - #130059 (Remove the unused `llvm-skip-rebuild` option from x.py) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 4e02d81 + 3d212e0 commit 622f540

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)