dropck: uses of terms "superregion" and "subregion" suboptimal #22171
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
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.)
The text was updated successfully, but these errors were encountered: