-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Regression: Not well-formed HRTB doesn't compile #55498
Copy link
Copy link
Closed
Labels
A-trait-systemArea: Trait systemArea: Trait systemT-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-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Metadata
Metadata
Assignees
Labels
A-trait-systemArea: Trait systemArea: Trait systemT-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-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Type
Fields
Give feedbackNo fields configured for issues without a type.
The code below doesn't compile anymore since nightly-2018-10-05:
(Playground)
One would expect this to compile since it compiles on stable. Instead it throws:
AFAIK
for<'b, 'a> 'b: 'acan currently not be satisfied in rust therefore this should compile.