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

Fix for Issue 89275 #89569

Closed
wants to merge 11 commits into from
Closed

Fix for Issue 89275 #89569

wants to merge 11 commits into from

Conversation

tom7980
Copy link
Contributor

@tom7980 tom7980 commented Oct 5, 2021

This should fix #89275 and potentially #77291 #75397

The problem of error reporting iterating over ambiguous traits and emitting a recursion limit error message on the initial mismatched type error.

I updated the OverflowError type from a struct to an enum so I believe it is no longer a ZST - I don't think this should cause any issue as it should only be constructed if you actually cause a recursion error in type checking or in this case where there's an ambiguous trait in scope that it checks for a conversion method.

@rust-highfive
Copy link
Collaborator

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @oli-obk (or someone else) soon.

Please see the contribution instructions for more information.

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 5, 2021
@tom7980
Copy link
Contributor Author

tom7980 commented Oct 5, 2021

@r? @estebank

Hope you don't mind looking at this one @eddyb may have some input too I suppose?

@rust-highfive rust-highfive assigned estebank and unassigned oli-obk Oct 5, 2021
@rust-log-analyzer

This comment has been minimized.

@tom7980 tom7980 closed this Oct 5, 2021
@tom7980
Copy link
Contributor Author

tom7980 commented Oct 5, 2021

I need to sort out my commits first - seem to have ended up in an extremely complicated place

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Overflow evaluating the requirement [stable/nightly]
6 participants