diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-04-17 09:37:00 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-11-21 08:22:11 +1100 |
| commit | cee88f7a3f1c5bc284d0c6a87fb1d5535ebb3af8 (patch) | |
| tree | cd0be463fdacf1bfd08b4911082a2c6d93d7099b /compiler/rustc_llvm/src | |
| parent | cfafa9380b446b74708986a344172ec48e295740 (diff) | |
| download | rust-cee88f7a3f1c5bc284d0c6a87fb1d5535ebb3af8.tar.gz rust-cee88f7a3f1c5bc284d0c6a87fb1d5535ebb3af8.zip | |
Prepare for invisible delimiters.
Current places where `Interpolated` is used are going to change to instead use invisible delimiters. This prepares for that. - It adds invisible delimiter cases to the `can_begin_*`/`may_be_*` methods and the `failed_to_match_macro` that are equivalent to the existing `Interpolated` cases. - It adds panics/asserts in some places where invisible delimiters should never occur. - In `Parser::parse_struct_fields` it excludes an ident + invisible delimiter from special consideration in an error message, because that's quite different to an ident + paren/brace/bracket.
Diffstat (limited to 'compiler/rustc_llvm/src')
0 files changed, 0 insertions, 0 deletions
