about summary refs log tree commit diff
path: root/compiler/rustc_session/src/options.rs
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-09-10 16:19:40 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-09-12 08:40:12 +1000
commitd4fc76cbf386eeeb184bf0411af670912e9bc70d (patch)
treed087fc48b6c9ed73893f1fe0b55f45abd3f9020c /compiler/rustc_session/src/options.rs
parentc2f74c3f928aeb503f15b4e9ef5778e77f3058b8 (diff)
downloadrust-d4fc76cbf386eeeb184bf0411af670912e9bc70d.tar.gz
rust-d4fc76cbf386eeeb184bf0411af670912e9bc70d.zip
Introduce `'ra` lifetime name.
`rustc_resolve` allocates many things in `ResolverArenas`. The lifetime
used for references into the arena is mostly `'a`, and sometimes `'b`.

This commit changes it to `'ra`, which is much more descriptive. The
commit also changes the order of lifetimes on a couple of structs so
that '`ra` is second last, before `'tcx`, and does other minor
renamings such as `'r` to `'a`.
Diffstat (limited to 'compiler/rustc_session/src/options.rs')
0 files changed, 0 insertions, 0 deletions