Enforce that raw lifetime identifiers must be valid raw identifiers

This commit is contained in:
Michael Goulet 2024-10-30 14:45:17 +00:00
parent 1e4f10ba64
commit 9785c7cf94
5 changed files with 72 additions and 4 deletions

View file

@ -77,6 +77,8 @@ parse_box_syntax_removed_suggestion = use `Box::new()` instead
parse_cannot_be_raw_ident = `{$ident}` cannot be a raw identifier
parse_cannot_be_raw_lifetime = `{$ident}` cannot be a raw lifetime
parse_catch_after_try = keyword `catch` cannot follow a `try` block
.help = try using `match` on the result of the `try` block instead