Closed
Description
When trying to compile nphysics on a nightly created on or after 2016-04-14
, the compiler errors. Before this date it is fine.
Example code:
git clone https://github.com/sebcrozet/nphysics
rustup update nightly-2016-04-13 && rustup run nightly-2016-04-13 cargo build # Works fine
rustup update nightly-2016-04-14 && rustup run nightly-2016-04-13 cargo build # Errors
Presumably was this commit that broke things, as it's a commit on that day that touches trans.
On Windows 64 bit GNU this is the output:
Compiling nphysics3d v0.2.2 (https://github.com/sebcrozet/nphysics.git#b379109f)
error: internal compiler error: ../src/librustc_trans\debuginfo\type_names.rs:155: debuginfo: Trying to create type name for unexpected type: <na::Pnt3<f32> as nc::ncollide_math::Point>::Vect
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box<Any>', ../src/libsyntax\errors/mod.rs:575