rust/compiler/rustc_parse/src
Matthias Krüger 3035ccbcb9
Rollup merge of #108031 - jieyouxu:issue-108019, r=estebank
Don't recover lifetimes/labels containing emojis as character literals

Fixes #108019.

Note that at the time of this commit, `unic-emoji-char` seems to have data tables only up to Unicode 5.0, but Unicode is already newer than this.

A newer emoji such as `🥺` will not be recognized as an emoji but older emojis such as `🐱` will.

This PR leaves a couple of FIXMEs where `unic_emoji_char::is_emoji` is used.
2023-02-18 13:26:46 +01:00
..
lexer Don't recover lifetimes/labels containing emojis as character literals 2023-02-14 17:31:58 +08:00
parser Replace some thens with some then_somes 2023-02-16 15:26:03 +00:00
errors.rs Rollup merge of #107446 - clubby789:rustc-parse-diag-migrate, r=compiler-errors 2023-02-09 11:21:57 +01:00
lib.rs
validate_attr.rs