Skip to content

Support method notation with projected associated types#20665

Merged
bors merged 4 commits into
rust-lang:masterfrom
nikomatsakis:assoc-types-method-dispatch-projection
Jan 8, 2015
Merged

Support method notation with projected associated types#20665
bors merged 4 commits into
rust-lang:masterfrom
nikomatsakis:assoc-types-method-dispatch-projection

Conversation

@nikomatsakis

Copy link
Copy Markdown
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
Copy Markdown
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

nrc commented Jan 7, 2015

Copy link
Copy Markdown
Member

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
lnicola pushed a commit to lnicola/rust that referenced this pull request Sep 18, 2025
fix: Don't mark unknown type as implementing every notable trait
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