Skip to content

Syntax sugar for prefix-style type parameter lists. #266

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

Closed
rust-highfive opened this issue Sep 24, 2014 · 2 comments
Closed

Syntax sugar for prefix-style type parameter lists. #266

rust-highfive opened this issue Sep 24, 2014 · 2 comments
Labels
postponed RFCs that have been postponed and may be revisited at a later time. T-lang Relevant to the language team, which will review and decide on the RFC.

Comments

@rust-highfive
Copy link

This is a proposal for type parameter lists that come well before the
actual generic items. Example:

type <T: Unwieldy+Traits+Go+Here,
      U: Even+More+Traits> {
  fn foo(t: T) -> U { ... }
  fn bar(u: U) -> T { ... }
}

Tracking issue for postponed PR #122

@rust-highfive rust-highfive added the postponed RFCs that have been postponed and may be revisited at a later time. label Sep 24, 2014
@nrc nrc added the T-lang Relevant to the language team, which will review and decide on the RFC. label Aug 17, 2016
@nrc
Copy link
Member

nrc commented Aug 17, 2016

Where clauses have been pretty successful, and so I don't think there is quite the motivation for this feature any more. I propose we close this issue, any objections?

withoutboats pushed a commit to withoutboats/rfcs that referenced this issue Jan 15, 2017
futures::future::poll_fn takes an FnMut that returns Poll and adapts it to a
Future.

Closes rust-lang#266.
@Centril
Copy link
Contributor

Centril commented Oct 7, 2018

After Nick's triage two years ago there has been zero movement and I don't think this is going anywhere; so I'm closing this.

@Centril Centril closed this as completed Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postponed RFCs that have been postponed and may be revisited at a later time. T-lang Relevant to the language team, which will review and decide on the RFC.
Projects
None yet
Development

No branches or pull requests

3 participants