-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Beta regression error "trait ... is not implemented for usize" #56020
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.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.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Milestone
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.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.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.Performance or correctness regression from stable to beta.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hello,
I have hit this strange error after updating the nightly(and beta) compiler. I tried the code below, this is a minimized version from a larger code base. Here is it on playground.
I am getting this error and I don't know how
usizeis involved here.After bisecting for a while, I discovered the error appears starting with this version of nightly:
The build from the day before doesn't show this error (and stable is also fine):