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. |
||
|---|---|---|
| .. | ||
| assoc-type.rs | ||
| assoc-type.stderr | ||
| dyn-trait.nll.stderr | ||
| dyn-trait.rs | ||
| dyn-trait.stderr | ||
| explicit-and-elided-same-header.rs | ||
| inherent-impl.rs | ||
| path-elided.rs | ||
| path-elided.stderr | ||
| path-underscore.rs | ||
| ref-underscore.rs | ||
| trait-elided.rs | ||
| trait-elided.stderr | ||
| trait-underscore.rs | ||