Closed
Description
I came across this just now when updating a large personal project to the latest nightly - The project seems to begin compiling successfully (it starts showing warnings) and then this occurs towards the end of the build:
error: internal compiler error: can't dereference const of type [int, .. 5]
note: the compiler hit an unexpected failure path. this is a bug.
note: we would appreciate a bug report: http://doc.rust-lang.org/complement-bugreport.html
note: run with `RUST_BACKTRACE=1` for a backtrace
task 'rustc' failed at 'Box<Any>', /Users/Mitch/Programming/Rust/rust/src/libsyntax/ast_util.rs:776
(I just checked master as well and it gives the same error)