You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I accidentally tried to link a library (rlib from current master of nalgebra) that I had compiled earlier with a slightly older version of rustc (not entirely sure which though...) than the current one that I used for linking and ran into this error:
error: internal compiler error: unexpected failure
This message reflects a bug in the Rust compiler.
We would appreciate a bug report: http://static.rust-lang.org/doc/master/complement-bugreport.html
note: the compiler hit an unexpected failure path. this is a bug
Ok(task 'rustc' failed at 'assertion failed: lib.dylib.is_none()', /tmp/yaourt-tmp-eduard/aur-rust-git/src/rust/src/librustc/metadata/loader.rs:210
)
Minimal source code:
externmod nalgebra;fnmain(){}
My mistake is obvious but this still appears to be a bug in error detection.
The text was updated successfully, but these errors were encountered:
Compute closure captures
This PR:
* Computes closure captures and the trait it implements (Fn, FnMut or FnOnce)
* Computes data layout of closures
* Adds support for closure MIR lowering
* Changes the closure type display from `|arg1: ty1, arg2: ty| -> ret` to `impl FnX(arg1: ty1, arg2: ty2) -> ret`
fixrust-lang#12297
I accidentally tried to link a library (rlib from current master of nalgebra) that I had compiled earlier with a slightly older version of rustc (not entirely sure which though...) than the current one that I used for linking and ran into this error:
Minimal source code:
My mistake is obvious but this still appears to be a bug in error detection.
The text was updated successfully, but these errors were encountered: