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

Tracking issue for member constraints in region inference #61997

nikomatsakis opened this issue Jun 20, 2019 · 0 comments


None yet
2 participants
Copy link

commented Jun 20, 2019

Member constraints

#61775 introduced "member constraints" as part of stabilizing async functions. These extend region inference to accommodate impl Trait return types that contain multiple unrelated lifetimes (e.g., impl Trait<'a, 'b> where neither 'a: 'b nor 'b: 'a). We decided to introduce a feature gate for other cases until we have time to gain more experience.

Learn more

The working of these constraints is described in the rustc-guide -- as of this writing, however, the PR has not yet landed.

Current status

Related issues

  • Impl trait (#34511)
  • Uncertain interaction with impl trait in bindings (#61773)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.