-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Second panicking custom derive has bad span #36935
Comments
@sgrif was "Reproduction Script" supposed to be a link? I'm spinning this off from #35900 (comment) as I don't think it's going to block stabilization and/or closing that issue. |
Reproduction script there is a summary tag |
|
This seems to be fixed now, so this issue can be closed. |
I ran this as a test, and got the following output:
|
…nkov Test for appropriate span on second custom derive Adds test for and closes rust-lang#36935.
…nkov Test for appropriate span on second custom derive Adds test for and closes rust-lang#36935.
…hton Test for appropriate span on second custom derive Adds test for and closes rust-lang#36935.
Inlined from #35900 (comment)
Another issue. If a struct has two different custom derives on it and the second one panics, the error span will point to the first one, not the one which panicked.
Reproduction Script
The text was updated successfully, but these errors were encountered: