about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-08-01 16:46:08 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-08-16 13:41:34 +1000
commite92183c2869d433dc14f5784cffce2e36591ed92 (patch)
treef1f130fe89a1ade578278375772d51be01798458 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
parent86a0a181793aa348f544fdb4136db7ce190fbc25 (diff)
downloadrust-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_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions