-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
remove leftover type_ascription remains in feature gating #111325
Copy link
Copy link
Closed
Labels
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.F-type_ascription`#![feature(type_ascription)]``#![feature(type_ascription)]`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
C-cleanupCategory: PRs that clean code up or issues documenting cleanup.Category: PRs that clean code up or issues documenting cleanup.F-type_ascription`#![feature(type_ascription)]``#![feature(type_ascription)]`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.
After #109128, there's some leftover code in feature gating.
rust/compiler/rustc_ast_passes/src/feature_gate.rs
Lines 378 to 401 in 613a5c9
It should be removed, although it needs to be ensured that code like it does not compile afterwards (I haven't tested it).
cc @chenyukang