-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Rust panic at assertion in latest nightly #20734
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
Still occurring in |
I have found the cause of the panic. If you try to define an extern "system" function in the impl of a struct the compiler panics. This is the code used to reproduce the bug:
This is the backtrace on the latest nightly 44a287e:
|
Still occuring. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am consistently getting a panic when compiling a particular project. It does not appear to occur when compiling one of libraries that project depends on: https://github.com/retep998/winapi-rs. The project being compiled is a library. The panic appears to chronologically occur after the compiler generates dead code warnings. Here is my backtrace:
This is the output of
rustc --version --verbose
The text was updated successfully, but these errors were encountered: