Closed
Description
Spawned off of: #21022 (comment) , #21972
The dropck code (RFC 769) added a new SubregionOrigin
variant for lifetime-inference errors, but the error message it reports is probably not written in terms we want to expose to our end users.
(However, this may be a moot issue since pnkfelix has most often seen the lifetime constraints added by dropck as leading to other lifetime-inference errors, and so he does not actually have a test case available at the moment that illustrates this issue.)