about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.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
commite5b5f56d4329159961095bdaca3f608fc097f930 (patch)
treed231f9117677a6759f23397da8775a860b2e57f1 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff
parent76be14b5cadd56e18af721c830c5592621b19cb7 (diff)
downloadrust-e5b5f56d4329159961095bdaca3f608fc097f930.tar.gz
rust-e5b5f56d4329159961095bdaca3f608fc097f930.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-abort.diff')
0 files changed, 0 insertions, 0 deletions