Give recursion limit errors a span #135629
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
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: