-
-
Notifications
You must be signed in to change notification settings - Fork 17.2k
const arguments have '_ resolved to 'static instead of infer vars #110931
Copy link
Copy link
Closed
Labels
A-const-genericsArea: const generics (parameters and arguments)Area: const generics (parameters and arguments)A-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regionsA-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.Category: This is a bug.
Description
Activity
Metadata
Metadata
Assignees
Labels
A-const-genericsArea: const generics (parameters and arguments)Area: const generics (parameters and arguments)A-lifetimesArea: Lifetimes / regionsArea: Lifetimes / regionsA-resolveArea: Name/path resolution done by `rustc_resolve` specificallyArea: Name/path resolution done by `rustc_resolve` specificallyC-bugCategory: This is a bug.Category: This is a bug.
I tried this code:
I expected to see this happen: It compile
Instead, this happened: It errored
Meta
playground version: