Skip to content

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
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