Skip to content

Type parameters have slightly different method resolution #168

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
merged 1 commit into from
Dec 9, 2017

Conversation

matthewjasper
Copy link
Contributor

For example, this is allowed:

fn f<T: ::std::ops::Deref>(t: T) {
     t.deref();
}

@Havvy Havvy added the New Content Missing features or aspects of language not currently documented. label Dec 9, 2017
@Havvy Havvy merged commit d25e350 into rust-lang:master Dec 9, 2017
@Havvy
Copy link
Contributor

Havvy commented Dec 9, 2017

💟 Thanks.

@matthewjasper matthewjasper deleted the traits-for-methods branch October 18, 2018 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Content Missing features or aspects of language not currently documented.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants