-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Give recursion limit errors a span #135629
Comments
Hello @oli-obk! Could you please provide some instructions on how I should proceed to tackle this issue? |
My plan would be to look at all calls to |
Thanks! I'd try to land the main span improvement first. |
In that case you could even avoid passing an obligation and just pass a span (which you sometimes get from an obligation) to |
Hello @tanvincible , I noticed this issue has been assigned to you for some time, and I’d love to contribute. Are you still actively working on it, or would you mind if I take over? Let me know. Thanks! |
@rustbot claim |
For example in https://github.com/rust-lang/rust/blob/master/tests/ui/infinite/infinite-struct.rs we get an error like
We could pass in the obligation cause to
struct_tail_raw
and use its span for the main message and report a note for the obligationOriginally posted by @oli-obk in #135464 (comment)
The text was updated successfully, but these errors were encountered: