Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse for<…> lifetime introducer on closures #1135

Closed
dtolnay opened this issue Mar 14, 2022 · 0 comments · Fixed by #1141
Closed

Parse for<…> lifetime introducer on closures #1135

dtolnay opened this issue Mar 14, 2022 · 0 comments · Fixed by #1141
Labels

Comments

@dtolnay
Copy link
Owner

dtolnay commented Mar 14, 2022

This is rust-lang/rfcs#3216, which has been proposed for lang FCP.

let closure = for<'a> |arg: &'a i32| -> &'a i32 { arg };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant