1
Fork 0

Revert "Don't recover lifetimes/labels containing emojis as character literals"

Reverts PR #108031
Fixes (doesnt close until beta backported) #109746

This reverts commit e3f9db5fc3.
This reverts commit 98b82aedba.
This reverts commit 380fa26413.
This commit is contained in:
Michael Goulet 2023-04-10 06:52:18 +00:00
parent 3c2e2dd5c5
commit a047064d6b
8 changed files with 17 additions and 178 deletions

View file

@ -473,8 +473,6 @@ pub enum StashKey {
/// When an invalid lifetime e.g. `'2` should be reinterpreted
/// as a char literal in the parser
LifetimeIsChar,
/// When an invalid lifetime e.g. `'🐱` contains emoji.
LifetimeContainsEmoji,
/// Maybe there was a typo where a comma was forgotten before
/// FRU syntax
MaybeFruTypo,