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 | e5b5f56d4329159961095bdaca3f608fc097f930 (patch) | |
| tree | d231f9117677a6759f23397da8775a860b2e57f1 /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff | |
| parent | 76be14b5cadd56e18af721c830c5592621b19cb7 (diff) | |
| download | rust-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
