-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
E0794 has a seemingly incorrect definition of "late bound lifetime parameter" #139652
Copy link
Copy link
Open
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-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.T-langRelevant to the language teamRelevant to the language team
Description
Activity
Metadata
Metadata
Assignees
Labels
A-docsArea: Documentation for any part of the project, including the compiler, standard library, and toolsArea: Documentation for any part of the project, including the compiler, standard library, and toolsT-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.T-langRelevant to the language teamRelevant to the language team
Location
https://doc.rust-lang.org/stable/error_codes/E0794.html
Summary
The docs say that a lifetime parameter must appear in an argument to be considered "late bound", but the following snippet emits E0794: