Skip to content

dropck: uses of terms "superregion" and "subregion" suboptimal #22171

Closed
@pnkfelix

Description

@pnkfelix

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.)

Metadata

Metadata

Assignees

Labels

A-diagnosticsArea: Messages for errors, warnings, and lintsC-enhancementCategory: An issue proposing an enhancement or a PR with one.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions