Closed
Description
WIth rust 0.6 master, and incoming, I get an internal compile error:
error: internal compiler error: node_id_to_type: no type for node `expr 0 as int id=13)`
This is a simple test case that reproduces the error:
pub mod buffer_binding {
use super::BufferType;
pub struct Context { handle : BufferType }
}
pub enum BufferType {
ArrayBuffer = 0 as int
}
Strangely, the error only happens when the enumeration is defined after the submodule.