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

Update E0049 to new error format #36383

Merged
merged 1 commit into from
Sep 16, 2016
Merged

Conversation

GuillaumeGomez
Copy link
Member

Fixes #35210.
Part of #35233.

r? @jonathandturner

format!("{} type parameter",
num_trait_m_type_params)
}))
.span_label(span, &format!("but got {}",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would probably read better here to follow the wording we have for other errors, something like "expected... , found..."

@sophiajt
Copy link
Contributor

Commented on a few things to fix, mostly around making sure we keep the same wording and test the all the cases.

@GuillaumeGomez
Copy link
Member Author

Updated.

@sophiajt
Copy link
Contributor

@bors r+ rollup

@bors
Copy link
Contributor

bors commented Sep 14, 2016

📌 Commit 3558462 has been approved by jonathandturner

sophiajt pushed a commit to sophiajt/rust that referenced this pull request Sep 15, 2016
sophiajt pushed a commit to sophiajt/rust that referenced this pull request Sep 16, 2016
bors added a commit that referenced this pull request Sep 16, 2016
Rollup of 8 pull requests

- Successful merges: #36383, #36424, #36480, #36484, #36505, #36509, #36519, #36521
- Failed merges:
@bors bors merged commit 3558462 into rust-lang:master Sep 16, 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.

3 participants