rust/compiler
Matthias Krüger 2ba3a5c909
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``
2025-04-24 08:12:59 +02:00
..
2025-04-23 15:09:25 +00:00
2025-04-20 18:58:46 +02:00
2025-04-23 15:09:25 +00:00
2025-04-20 11:18:38 +02:00
2025-04-23 15:09:25 +00:00
2025-04-23 15:09:25 +00:00