diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-08-01 16:46:08 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-08-16 13:41:34 +1000 |
| commit | e92183c2869d433dc14f5784cffce2e36591ed92 (patch) | |
| tree | f1f130fe89a1ade578278375772d51be01798458 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff | |
| parent | 86a0a181793aa348f544fdb4136db7ce190fbc25 (diff) | |
| download | rust-e92183c2869d433dc14f5784cffce2e36591ed92.tar.gz rust-e92183c2869d433dc14f5784cffce2e36591ed92.zip | |
Rename some things related to literals.
- Rename `ast::Lit::token` as `ast::Lit::token_lit`, because its type is
`token::Lit`, which is not a token. (This has been confusing me for a
long time.)
reasonable because we have an `ast::token::Lit` inside an `ast::Lit`.
- Rename `LitKind::{from,to}_lit_token` as
`LitKind::{from,to}_token_lit`, to match the above change and
`token::Lit`.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
