Skip to content

Support method notation with projected associated types #20665

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

Merged

Conversation

nikomatsakis
Copy link
Contributor

You should be able to call x.foo() on the basis of a bound declared in the trait (rather than being restricted to UFCS form).

Fixes #20469.

cc @japaric

@rust-highfive
Copy link
Contributor

r? @huonw

(rust_highfive has picked a reviewer for you, use r? to override)

@nrc nrc assigned nrc and unassigned huonw Jan 7, 2015
@nrc
Copy link
Member

nrc commented Jan 7, 2015

r? me

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 8, 2015
…atch-projection

Conflicts:
	src/librustc/middle/ty.rs
@bors bors merged commit ab02f9e into rust-lang:master Jan 8, 2015
@nikomatsakis nikomatsakis deleted the assoc-types-method-dispatch-projection branch March 30, 2016 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate projection types into method dispatch
5 participants