6

Note specific regions involved in 'borrowed data escapes' error by Aaron1011 · P...

 2 years ago
source link: https://github.com/rust-lang/rust/pull/89501
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Copy link

Member

Aaron1011 commented 17 days ago

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.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK