<p dir="auto"><a href="http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/511/steps/test/logs/stdio" rel="nofollow">http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/511/steps/test/logs/stdio</a></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="tests::rustpkg_library_target
tests::test_install_git
tests::test_package_version"><pre class="notranslate"><code class="notranslate">tests::rustpkg_library_target
tests::test_install_git
tests::test_package_version
</code></pre></div>
<p dir="auto">I am going to xfail these for now, because they're causing a lot of buildbot failures.</p>
<p dir="auto">WIth rust 0.6 master, and incoming, I get an internal compile error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="error: internal compiler error: node_id_to_type: no type for node `expr 0 as int  id=13)`"><pre class="notranslate"><code class="notranslate">error: internal compiler error: node_id_to_type: no type for node `expr 0 as int  id=13)`
</code></pre></div>
<p dir="auto">This is a simple test case that reproduces the error:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pub mod buffer_binding {
   use super::BufferType;

   pub struct Context { handle : BufferType }
}

pub enum BufferType {
   ArrayBuffer = 0 as int
}"><pre class="notranslate"><code class="notranslate">pub mod buffer_binding {
   use super::BufferType;

   pub struct Context { handle : BufferType }
}

pub enum BufferType {
   ArrayBuffer = 0 as int
}
</code></pre></div>
<p dir="auto">Strangely, the error only happens when the enumeration is defined after the submodule.</p>