rust/compiler/rustc_lexer/src
Esteban Küber 19821ad234 Properly handle emojis as literal prefix in macros
Do not accept the following

```rust
macro_rules! lexes {($($_:tt)*) => {}}
lexes!(🐛"foo");
```

Before, invalid emoji identifiers were gated during parsing instead of lexing in all cases, but this didn't account for macro expansion of literal prefixes.

Fix #123696.
2024-04-10 23:19:27 +00:00
..
unescape Rename the unescaping functions. 2024-01-25 12:28:11 +11:00
cursor.rs Silence redundant error on char literal that was meant to be a string in 2021 edition 2024-03-17 23:35:19 +00:00
lib.rs Properly handle emojis as literal prefix in macros 2024-04-10 23:19:27 +00:00
tests.rs
unescape.rs Use unescape_unicode for raw C string literals. 2024-01-25 12:28:11 +11:00