-
Notifications
You must be signed in to change notification settings - Fork 13k
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
thread 'rustc' panicked at 'found unstable fingerprints for predicates_of(core[3998]::cmp::PartialEq)' #83259
Comments
This should be fixed by #83220 |
@arifd: I'm not able to reproduce this locally. Did you make any modifications to the file between the first and second |
Wow. okay, I just tried:
And it now runs fine! Sorry :( I obviously didn't make up that bug. And I wish I had that project in the state it was then, perhaps a But you're right, it's not reproducible from a fresh project. So, how do you wish to proceed? (I'm happy to delete this and pretend it never existed!) Regarding:
I don't quite understand what you mean, but at the moment I was running |
The backtrace you posted shows that |
This issue is by far the simplest reproduction of the |
Umm okay, so, I don't know what minimized means, but what happened was I that I was interested in porting a module that I had written in Python over to Rust, so I was following this tutorial: https://bheisler.github.io/post/calling-rust-in-python/ I really hadn't got much farther than simply copy/pasting that double function and then writing the test for it. It happened REALLY soon after beginning the fresh project. The name of that project (patientprovider) is just what I might likely call it in the future. I even tried going back into that project as it is now, with the code from above and hitting cargo test, but it tests fine now, even with nightly. |
Minimizing is taking a bug encountered in a large codebase, and converting the bug down into the smallest possible version of it. 🙂 FWIW I also just ran into this when working on a proc-macro for |
Fixed in #83220; closing per #84970 (comment) |
Code
Meta
rustc --version --verbose
:Error output
Backtrace
Note, this bug does not exist in stable:
And in any case only occurs under
cargo test
, notcargo build
The text was updated successfully, but these errors were encountered: