mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
a736acc804
Compute lifetimes in scope at diagnostic time The set of available lifetimes is currently computed during lifetime resolution on HIR. It is only used for one diagnostic. In this PR, HIR lifetime resolution just reports whether elided lifetimes are well-defined at the place of use. The diagnostic code is responsible for building a list of lifetime names if elision is not allowed. This will allow to remove lifetime resolution on HIR eventually. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |