Skip to content
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

Improve E0277 error message in a generic context #32641

Merged
merged 1 commit into from
Apr 2, 2016

Conversation

tbu-
Copy link
Contributor

@tbu- tbu- commented Mar 31, 2016

This now mentions that you can restrict type parameters to be able to
call functions of traits.

This now mentions that you can restrict type parameters to be able to
call functions of traits.
@rust-highfive
Copy link
Collaborator

r? @pnkfelix

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

@tbu-
Copy link
Contributor Author

tbu- commented Mar 31, 2016

Idea comes from https://www.reddit.com/r/rust/comments/4ceo5n/my_first_experiments_with_rust_generics_and/.

This is a doc pull request, so r? @steveklabnik I guess?

@pnkfelix
Copy link
Member

@bors r+

@bors
Copy link
Contributor

bors commented Mar 31, 2016

📌 Commit 10caca2 has been approved by pnkfelix

@pnkfelix
Copy link
Member

@bors rollup

Manishearth added a commit to Manishearth/rust that referenced this pull request Apr 1, 2016
Improve E0277 error message in a generic context

This now mentions that you can restrict type parameters to be able to
call functions of traits.
bors added a commit that referenced this pull request Apr 2, 2016
Rollup of 11 pull requests

- Successful merges: #32622, #32629, #32640, #32641, #32642, #32645, #32647, #32649, #32652, #32654, #32656
- Failed merges:
@bors bors merged commit 10caca2 into rust-lang:master Apr 2, 2016
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.

5 participants