mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-19 03:20:38 +00:00

Fixes #67007 Currently, a 'borrowed data escapes' error does not mention the specific lifetime involved (except indirectly through a suggestion about adding a lifetime bound). We now explain the specific lifetime relationship that failed to hold, which improves otherwise vague error messages.