diff options
| author | Jubilee <46493976+workingjubilee@users.noreply.github.com> | 2024-04-18 21:38:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-18 21:38:55 -0700 |
| commit | 0a0a5a956cfd4acf65f0fcaa4867ff131c6269c7 (patch) | |
| tree | b94462ce53b106a805df4f52f9d5d3a86a1f26a1 /tests/coverage/branch/generics.rs | |
| parent | 3831cbb28f468f271ecffebac960ac4ea644e53a (diff) | |
| parent | 19821ad23474a3d056feac94f11569841764eb87 (diff) | |
| download | rust-0a0a5a956cfd4acf65f0fcaa4867ff131c6269c7.tar.gz rust-0a0a5a956cfd4acf65f0fcaa4867ff131c6269c7.zip | |
Rollup merge of #123752 - estebank:emoji-prefix, r=wesleywiser
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 pre-expansion of literal prefixes.
Fix #123696.
Diffstat (limited to 'tests/coverage/branch/generics.rs')
0 files changed, 0 insertions, 0 deletions
