<blockquote>
<p dir="auto">error: mismatched types: expected <code class="notranslate">core::option::Option&lt;alloc::arc::Arc&lt;std::collections ::hash::map::HashMap&lt;&amp;'static str, alloc::arc::Arc&lt;collections::vec::Vec&lt;item::Item&gt;&gt;&gt;&gt;&gt;</code>,<br>
found <code class="notranslate">core::option::Option&lt;alloc::arc::Arc&lt;std::collections::hash::map::HashMap&lt;&amp;str, alloc::arc::Arc&lt;collections::vec::Vec&lt;&amp;generator::Job&gt;&gt;&gt;&gt;&gt;</code></p>
</blockquote>
<p dir="auto">would be much more readable as</p>
<blockquote>
<p dir="auto">error: mismatched types: expected <code class="notranslate">Option&lt;Arc&lt;HashMap&lt;&amp;'static str, Arc&lt;Vec&lt;Item&gt;&gt;&gt;&gt;&gt;</code>,<br>
found <code class="notranslate">Option&lt;Arc&lt;HashMap&lt;&amp;str, Arc&lt;Vec&lt;&amp;Job&gt;&gt;&gt;&gt;&gt;</code></p>
</blockquote>
<p dir="auto">One possibility is to use the names in scope where the type error appears.  In any event, we should make sure none of the unqualified names in a given error are ambiguous.</p>
<p dir="auto">Right now, when using rustc to only parse an input file, only errors are displayed. There should be an option to also display warnings (and notes) without having to fully compile the program.</p>
<p dir="auto">Trying again with a recent build of rustc, it appears that not even errors are displayed with rustc 0.5</p>