-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
types_escaping_snapshot is unused #77740
Copy link
Copy link
Closed
Labels
A-inferenceArea: Type inferenceArea: Type inferenceC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Metadata
Metadata
Assignees
Labels
A-inferenceArea: Type inferenceArea: Type inferenceC-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I'm not familiar enough with the code to know what the purpose of
types_escaping_snapshotis, but it seems unused.rust/compiler/rustc_infer/src/infer/type_variable.rs
Lines 349 to 397 in d245464
I'd just have removed it in #77739 but there are two comments mentioning it in the file and I'm not sure what to do about those.