-
Notifications
You must be signed in to change notification settings - Fork 13.3k
internal compiler error: unexpected panic for issue #35896 #46101
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Repro with 1.23-nightly on playground. Smaller test case:
The input still ICE without
|
cc @jseyfried ICE backtrace without the
With the
|
Looks like we have some debuginfo corruption:
|
cc @michaelwoerister - could you try to figure out why we have debuginfo corruption in |
The bugzilla looks like rustc is injecting line number 0 for some reason. I'll investigate. |
It looks like the "bad" line number comes from an
|
Nope, that's not the problem. The LLVM IR above works with libbacktrace (this was generated using LTO, which massages the IR in a way it does not encounter the problem). |
The test for this was added in #58743, so we can close this. |
I'm learning rust and diesel, while trying to get the diesel::association::BelongTo working on my table, I tried this code:
I expected to see this happen: Nothing, to be honest, I thought BelongsTo::<User> should work, and BelongsTo::User does not make any sense to me.
Instead, this happened: I got the error message telling me to report this bug.
Meta
rustc --version --verbose
:Backtrace:
The text was updated successfully, but these errors were encountered: