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 just tried fixing the absence of Any from the prelude in the latest Rust compiler like so:
diff --git a/src/object.rs b/src/object.rs
index b76bcbf..3c2dd60 100644
--- a/src/object.rs
+++ b/src/object.rs
@@ -2,6 +2,7 @@
use std::cell::RefCell;
use std::rc::Rc;
+use std::any::Any;
use gl::types::*;
use nalgebra::na::{Mat3, Vec2, Vec3, Iso3, Rotation, Rotate, Translation, Transformation};
use nalgebra::na;
This caused an unexpected compiler 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 'index out of bounds: the len is 0 but the index is 0', /build/rust-git/src/rust/src/librustc/lib.rs:1
)
Will report upstream as well, but I thought raising an issue here is probably also a good idea, since it effectively makes compiling kiss3d impossible.
The text was updated successfully, but these errors were encountered:
I just tried fixing the absence of
Any
from the prelude in the latest Rust compiler like so:This caused an unexpected compiler error:
Will report upstream as well, but I thought raising an issue here is probably also a good idea, since it effectively makes compiling kiss3d impossible.
The text was updated successfully, but these errors were encountered: