-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
'rustc' panicked at 'Box<Any>' #18884
Comments
Possibly related fn foo(bar: *const u8) {
let a = unsafe { (bar as *const Writer) };
}
fn main() {
} |
Possibly related
|
I'm unable to reproduce the original reported IRC using the 2015-01-08 nightly, as well as the one reporte by octplane. The one reported by abhijeetbhagat looks to be the same as #18998. I think this can be closed. |
Maybe related:
Compiler:
Envrionment: |
Maybe related: Caused when I build https://github.com/PistonDevelopers/conrod.git . $ RUST_BACKTRACE=1 cargo test stack backtrace: Envrionment: |
Another possible related instance: ===== Rustc version ===== ===== The code ===== pub fn mpi_send(buf: *const Copy, count: i32, datatype: MpiDatatype, dest: i32, ===== The error ===== src/lib.rs:66:36: 66:51 error: internal compiler error: cat_expr Errd stack backtrace: |
Also possibly related: Codehttps://github.com/jimmycuadra/fleet_client/tree/afcf76e41cfb27feffb5d2040c103255bcf18cd8 I couldn't figure out what the core of the issue was, apologies for the lack of real test case. rustc version
Backtrace
|
I think these are all fixed. |
fix: Fix `env`/`option_env` macro check disregarding macro_rules definitions
I think this could be already under consideration, but anyway.
I am doing FFI with libsqlite3 and want to convert an array of C strings to an array of
&str
:The text was updated successfully, but these errors were encountered: