Skip to content

librustc: Improve error message for incompatible trait method signatures... #13333

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 5, 2014

Conversation

Ryman
Copy link
Contributor

@Ryman Ryman commented Apr 5, 2014

This can be a frustrating error message, ideally we should print the signature mismatch, but hinting that it's a trait incompatibility helps tracking root cause. Also beefed up the testcases for this.

Ideally we would print the signature mismatch in the error helper?

bors added a commit that referenced this pull request Apr 5, 2014
…alexcrichton

This can be a frustrating error message, ideally we should print the signature mismatch, but hinting that it's a trait incompatibility helps tracking root cause. Also beefed up the testcases for this.

Ideally we would print the signature mismatch in the error helper?
@bors bors closed this Apr 5, 2014
@bors bors merged commit 28938d0 into rust-lang:master Apr 5, 2014
@Ryman Ryman deleted the improve_incompatible_type_error branch April 6, 2014 03:15
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 18, 2022
fix(generate_method): correct method indentation inside generated impl and change gen loc

should fix rust-lang#10619
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants