-
Notifications
You must be signed in to change notification settings - Fork 13.3k
incr.comp.: "change nothing" test fails. #42538
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
Comments
@nikomatsakis |
It might be because the spans changed -- and the |
@nikomatsakis Personally, I fail to see any differences between two "impl X". |
Yes, precisely. The code we have to generate has changed, since the line numbers are different. This isn't always true, but it is true for things that may panic (e.g., |
Triage: i was going to try to reproduce this, but ran into #57479 The file is still living in the same place, at least. That said, it seems from the above discussion that maybe this is intentional? |
Closing as intended behaviour: the generated code must include the span of the panic, which indeed changes. |
I've been slightly modified incremental/struct_change_nothing.rs test with impl block added. And now it fails.
pass2 output:
The text was updated successfully, but these errors were encountered: