rust/src/test/ui/object-lifetime
Aaron Hill 3c974adb4c
Note specific regions involved in 'borrowed data escapes' error
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.
2021-10-05 13:25:03 -05:00
..
object-lifetime-default-ambiguous.rs
object-lifetime-default-ambiguous.stderr add long error explanation for E0228 2020-05-12 17:09:09 -07:00
object-lifetime-default-dyn-binding-nonstatic1.rs
object-lifetime-default-dyn-binding-nonstatic1.stderr add long error explanation for E0228 2020-05-12 17:09:09 -07:00
object-lifetime-default-dyn-binding-nonstatic2.rs
object-lifetime-default-dyn-binding-nonstatic2.stderr add long error explanation for E0228 2020-05-12 17:09:09 -07:00
object-lifetime-default-dyn-binding-nonstatic3.rs
object-lifetime-default-dyn-binding-nonstatic3.stderr add long error explanation for E0228 2020-05-12 17:09:09 -07:00
object-lifetime-default-dyn-binding-static.rs
object-lifetime-default-elision.nll.stderr
object-lifetime-default-elision.rs
object-lifetime-default-elision.stderr Propagate coercion cause into try_coerce 2021-09-16 16:53:40 -05:00
object-lifetime-default-from-box-error.nll.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
object-lifetime-default-from-box-error.rs Further tweak wording of E0759 and introduce E0767 2020-07-22 12:25:54 -07:00
object-lifetime-default-from-box-error.stderr Modify structured suggestion output 2021-08-11 09:46:24 +00:00
object-lifetime-default-from-rptr-box-error.nll.stderr Don't suggest replacing region with 'static in NLL 2021-10-03 21:53:48 -05:00
object-lifetime-default-from-rptr-box-error.rs
object-lifetime-default-from-rptr-box-error.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
object-lifetime-default-from-rptr-struct-error.nll.stderr Don't suggest replacing region with 'static in NLL 2021-10-03 21:53:48 -05:00
object-lifetime-default-from-rptr-struct-error.rs
object-lifetime-default-from-rptr-struct-error.stderr
object-lifetime-default-mybox.nll.stderr Note specific regions involved in 'borrowed data escapes' error 2021-10-05 13:25:03 -05:00
object-lifetime-default-mybox.rs
object-lifetime-default-mybox.stderr
object-lifetime-default.rs
object-lifetime-default.stderr