about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2025-03-28 08:45:33 -0400
committerJake Goulding <jake.goulding@gmail.com>2025-04-23 16:37:39 -0400
commit2a5c349f422657f614bd44a36a28fa2f761f30ed (patch)
tree716adaf39badb618f6564dc23ed6e971cd50a0c6 /compiler/rustc_codegen_gcc/example/alloc_example.rs
parent553600e0f5f5a7d492de6d95ccb2f057005f5651 (diff)
downloadrust-2a5c349f422657f614bd44a36a28fa2f761f30ed.tar.gz
rust-2a5c349f422657f614bd44a36a28fa2f761f30ed.zip
Extend HIR to track the source and syntax of a lifetime
An upcoming lint will want to be able to know if a lifetime is
hidden (e.g. `&u8`, `ContainsLifetime`) or anonymous: (e.g. `&'_ u8`,
`ContainsLifetime<'_>`). It will also want to know if the lifetime is
related to a reference (`&u8`) or a path (`ContainsLifetime`).
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions