about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/alloc_example.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-24 08:12:59 +0200
committerGitHub <noreply@github.com>2025-04-24 08:12:59 +0200
commit2ba3a5c90991f6622f5d55cec21f360bc3fdb2eb (patch)
tree67a020355342c14acc0cd747330a6d221078c18a /compiler/rustc_codegen_gcc/example/alloc_example.rs
parent2a07f998d08ba787a095a4fefd2183c8eb9130af (diff)
parent2a5c349f422657f614bd44a36a28fa2f761f30ed (diff)
downloadrust-2ba3a5c90991f6622f5d55cec21f360bc3fdb2eb.tar.gz
rust-2ba3a5c90991f6622f5d55cec21f360bc3fdb2eb.zip
Rollup merge of #139945 - shepmaster:hir-lifetime-syntax-source, r=nnethercote
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`).

r? ``@nnethercote``
Diffstat (limited to 'compiler/rustc_codegen_gcc/example/alloc_example.rs')
0 files changed, 0 insertions, 0 deletions