Closed
Description
The following code:
fn main() {
let x: [bool, ..1 as uint];
}
causes:
error: internal compiler error: node_id_to_type: no type for node `expr 1 as uint (id=16)`
This message reflects a bug in the Rust compiler.
We would appreciate a bug report: https://github.com/mozilla/rust/wiki/HOWTO-submit-a-Rust-bug-report
task 'rustc' failed at 'explicit failure', /build/buildd/rust-nightly-201311220805~747213a~precise/src/libsyntax/diagnostic.rs:101
task '<main>' failed at 'explicit failure', /build/buildd/rust-nightly-201311220805~747213a~precise/src/librustc/lib.rs:396
in the latest nightly from https://launchpad.net/~hansjorg/+archive/rust.