-
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
Encountered incremental compilation error with find_field(a5f984281f1e0bb0-ee8ea99685b18732) #125678
Comments
since you do have a reproducer, could you try it with RUSTFLAGS=-Zincremenral-verify-ich? that may pinpoint the bug |
I've moved on in the project, so I can't run on exactly the same code, but I keep hitting roughly the same issue, here's another dump when I add that flag (seems not to change anything):
|
Hitting these issues pretty constantly on this project, and actually, now seeing it happen that compilation is failing with some bogus error if I modify a macro, until I touch the test file which is using the macro, after which it compiles fine. Note the error in these cases is not a panic like above (which are still happening a lot), but a made-up complaint about the source code, which goes away after doing nothing but touching the test file. This makes me think it's possibly macros 2.0 related (which I am using) |
that sounds likely. I recommend you use normal macro rules instead and check whether that helps. |
I'll try converting when I have a chance, but assuming that is the case, linking to #39412 as it is still very buggy (happy to vet with this apparently devastating test case if/when it is believed to be more stable) |
I cannot share the code, however since I was requested to file the unexpected panic in the compiler, I am attaching the stacktrace. This occurs when I change a bound from:
impl<G: H, T: N<G>> Trait<dyn N<G>> for T where T: 'static
to
impl<G: H, T: N<G> + 'static> Trait<dyn N<G>> for T
Meta and Error Output
The text was updated successfully, but these errors were encountered: