-
Notifications
You must be signed in to change notification settings - Fork 13.3k
rustc panicked at Failed to extract DefId #96320
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
looks potentially related to what I submitted a moment ago for #96319 -- perhaps see if the reproduction steps I listed there seem relevant to you? |
I have a similar error:
|
I also encountered this: YZITE/yzix@78311e1 |
Thanks for the repro @zseri. There have been a few new cases of this ICE in the last week, and they have been fixed since. Your specific issue (which is different from the OP) is indeed already fixed on the latest nightly (but is present on nightly-2022-07-16). |
I'm having the same issue. My code looks something like this
now this panics with:
the messages come from tonic for anyone interested. Roughly it is a grpc server that can handle a list of requests and reply to them later using server-side gRPC streaming. Instances of Inner are protected using Arc, but they still require to be Send. But now I'm guessing it tries to find out if the saved Message inside MyHandler inside Inner is actually Send, as that message contains a channel Sender, as well as some other stuff. |
Code
The code is not open source and I am not exactly sure what caused it.
I might be able to create a minimal repro on demand, please reach out.
Meta
Error output
Backtrace
The text was updated successfully, but these errors were encountered: