<p dir="auto">I tried this code:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="struct ostage&lt;'a&gt; {
  nodes: Vec&lt;Node&lt;'a&gt;&gt;
}


impl&lt;'a&gt; ostage&lt;'a&gt; {
    fn append_nodes(&amp;self, Vec&lt;Node&gt;) {
        self.nodes.append(&amp;mut new_nodes);
    }
}"><pre class="notranslate"><code class="notranslate">struct ostage&lt;'a&gt; {
  nodes: Vec&lt;Node&lt;'a&gt;&gt;
}


impl&lt;'a&gt; ostage&lt;'a&gt; {
    fn append_nodes(&amp;self, Vec&lt;Node&gt;) {
        self.nodes.append(&amp;mut new_nodes);
    }
}
</code></pre></div>
<p dir="auto">(definition of <code class="notranslate">Node</code> ommitted, the bug already occurs in this short snippet)</p>
<p dir="auto">I expected to see this happen: The compiler should complain about the not existent naming of the second parameter of <code class="notranslate">append_nodes</code>.</p>
<p dir="auto">Instead, this happened: Compiler said:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="bug_example.rs:7:28: 7:31 error: internal compiler error: ident only path should have been covered already
bug_example.rs:7     fn append_nodes(&amp;self, Vec&lt;Node&gt;) {
                                            ^~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:129"><pre class="notranslate"><code class="notranslate">bug_example.rs:7:28: 7:31 error: internal compiler error: ident only path should have been covered already
bug_example.rs:7     fn append_nodes(&amp;self, Vec&lt;Node&gt;) {
                                            ^~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box&lt;Any&gt;', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:129
</code></pre></div>
<h2 dir="auto">Meta</h2>
<p dir="auto"><code class="notranslate">rustc --version --verbose</code>:</p>
<ul dir="auto">
<li>1.0.0-nightly (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/522d09dfecbeca1595f25ac58c6d0178bbd21d7d/hovercard" href="https://github.com/rust-lang/rust/commit/522d09dfecbeca1595f25ac58c6d0178bbd21d7d"><tt>522d09d</tt></a> 2015-02-19) (built 2015-02-21)</li>
<li>binary: rustc</li>
<li>commit-hash: <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/522d09dfecbeca1595f25ac58c6d0178bbd21d7d/hovercard" href="https://github.com/rust-lang/rust/commit/522d09dfecbeca1595f25ac58c6d0178bbd21d7d"><tt>522d09d</tt></a></li>
<li>commit-date: 2015-02-19</li>
<li>build-date: 2015-02-21</li>
<li>host: x86_64-unknown-linux-gnu</li>
<li>release: 1.0.0-nightly</li>
</ul>
<p dir="auto">Backtrace:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 1:     0x7fbbc5e7b210 - sys::backtrace::write::h252031bd050bf19aKlC
 2:     0x7fbbc5ea3ac0 - panicking::on_panic::h8a07e978260e2c7btXL
 3:     0x7fbbc5de4720 - rt::unwind::begin_unwind_inner::h322bcb3f35268c19RBL
 4:     0x7fbbc30d2aa0 - rt::unwind::begin_unwind::h14707831790480024292
 5:     0x7fbbc30d2a30 - diagnostic::SpanHandler::span_bug::hc8a5aaa027e1ffe4vYE
 6:     0x7fbbc30f5440 - parse::parser::Parser&lt;'a&gt;::parse_pat::hb2ecf80c7f350654wLL
 7:     0x7fbbc30ede80 - parse::parser::Parser&lt;'a&gt;::parse_arg_general::hcec437b628467db684J
 8:     0x7fbbc311c860 - parse::parser::Parser&lt;'a&gt;::parse_seq_to_before_end::h6260280699255559793
 9:     0x7fbbc3119b30 - parse::parser::Parser&lt;'a&gt;::parse_method::h0d3e8afbedb80840ZWM
10:     0x7fbbc311d5c0 - parse::parser::Parser&lt;'a&gt;::parse_item_impl::hd52de03300e36175z4M
11:     0x7fbbc310e370 - parse::parser::Parser&lt;'a&gt;::parse_item_::h60b4bcefd23d6140zUN
12:     0x7fbbc311f8e0 - parse::parser::Parser&lt;'a&gt;::parse_mod_items::h79ee3c5e427ceaaaPjN
13:     0x7fbbc312ae30 - parse::parser::Parser&lt;'a&gt;::parse_crate_mod::h221baa0e96bbcf97FlO
14:     0x7fbbc313dcf0 - parse::parse_crate_from_file::h14706417f2de711evNV
15:     0x7fbbc6505340 - driver::phase_1_parse_input::closure.16948
16:     0x7fbbc64df670 - driver::phase_1_parse_input::ha93ec06764e22311Qra
17:     0x7fbbc64dc070 - driver::compile_input::h0c8d8120f6194473Gba
18:     0x7fbbc65ab2b0 - run_compiler::heccd2f43b844857cZbc
19:     0x7fbbc65a9bb0 - thunk::F.Invoke&lt;A, R&gt;::invoke::h14556331494175157254
20:     0x7fbbc65a8aa0 - rt::unwind::try::try_fn::h8181016918202193540
21:     0x7fbbc5f10880 - rust_try_inner
22:     0x7fbbc5f10870 - rust_try
23:     0x7fbbc65a8da0 - thunk::F.Invoke&lt;A, R&gt;::invoke::h12418455792421810631
24:     0x7fbbc5e8fb60 - sys::thread::thread_start::h3defdaea150d8cd693G
25:     0x7fbbbfd912b0 - start_thread
26:     0x7fbbc5a6d249 - __clone
27:                0x0 - &lt;unknown&gt;"><pre class="notranslate"><code class="notranslate"> 1:     0x7fbbc5e7b210 - sys::backtrace::write::h252031bd050bf19aKlC
 2:     0x7fbbc5ea3ac0 - panicking::on_panic::h8a07e978260e2c7btXL
 3:     0x7fbbc5de4720 - rt::unwind::begin_unwind_inner::h322bcb3f35268c19RBL
 4:     0x7fbbc30d2aa0 - rt::unwind::begin_unwind::h14707831790480024292
 5:     0x7fbbc30d2a30 - diagnostic::SpanHandler::span_bug::hc8a5aaa027e1ffe4vYE
 6:     0x7fbbc30f5440 - parse::parser::Parser&lt;'a&gt;::parse_pat::hb2ecf80c7f350654wLL
 7:     0x7fbbc30ede80 - parse::parser::Parser&lt;'a&gt;::parse_arg_general::hcec437b628467db684J
 8:     0x7fbbc311c860 - parse::parser::Parser&lt;'a&gt;::parse_seq_to_before_end::h6260280699255559793
 9:     0x7fbbc3119b30 - parse::parser::Parser&lt;'a&gt;::parse_method::h0d3e8afbedb80840ZWM
10:     0x7fbbc311d5c0 - parse::parser::Parser&lt;'a&gt;::parse_item_impl::hd52de03300e36175z4M
11:     0x7fbbc310e370 - parse::parser::Parser&lt;'a&gt;::parse_item_::h60b4bcefd23d6140zUN
12:     0x7fbbc311f8e0 - parse::parser::Parser&lt;'a&gt;::parse_mod_items::h79ee3c5e427ceaaaPjN
13:     0x7fbbc312ae30 - parse::parser::Parser&lt;'a&gt;::parse_crate_mod::h221baa0e96bbcf97FlO
14:     0x7fbbc313dcf0 - parse::parse_crate_from_file::h14706417f2de711evNV
15:     0x7fbbc6505340 - driver::phase_1_parse_input::closure.16948
16:     0x7fbbc64df670 - driver::phase_1_parse_input::ha93ec06764e22311Qra
17:     0x7fbbc64dc070 - driver::compile_input::h0c8d8120f6194473Gba
18:     0x7fbbc65ab2b0 - run_compiler::heccd2f43b844857cZbc
19:     0x7fbbc65a9bb0 - thunk::F.Invoke&lt;A, R&gt;::invoke::h14556331494175157254
20:     0x7fbbc65a8aa0 - rt::unwind::try::try_fn::h8181016918202193540
21:     0x7fbbc5f10880 - rust_try_inner
22:     0x7fbbc5f10870 - rust_try
23:     0x7fbbc65a8da0 - thunk::F.Invoke&lt;A, R&gt;::invoke::h12418455792421810631
24:     0x7fbbc5e8fb60 - sys::thread::thread_start::h3defdaea150d8cd693G
25:     0x7fbbbfd912b0 - start_thread
26:     0x7fbbc5a6d249 - __clone
27:                0x0 - &lt;unknown&gt;
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="rustc 1.0.0-dev (f0f7ca27d 2015-02-23) (built 2015-02-23)"><pre class="notranslate"><code class="notranslate">rustc 1.0.0-dev (f0f7ca27d 2015-02-23) (built 2015-02-23)
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="building application
   Compiling android_glue v0.0.1 (file:///mnt/host/kmcg3413.net/FireRoute/android-clui)
/mnt/host/kmcg3413.net/FireRoute/apk-builder/glue/src/lowglue/mod.rs:39:25: 39:28 error: internal compiler error: ident only path should have been covered already
/mnt/host/kmcg3413.net/FireRoute/apk-builder/glue/src/lowglue/mod.rs:39     pub fn android_main(Arc&lt;ActivityState&gt;);
                                                                                                ^~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box&lt;Any&gt;', /mnt/host/kmcg3413.net/rust/src/libsyntax/diagnostic.rs:129

stack backtrace:
   1:     0x7fd0ca974090 - sys::backtrace::write::h4e9a31aa2e8023179rC
   2:     0x7fd0ca99cca0 - panicking::on_panic::hc7167c0722a05a78b9L
   3:     0x7fd0ca8dc860 - rt::unwind::begin_unwind_inner::h8d46481699e3751fwNL
   4:     0x7fd0c7bd5430 - rt::unwind::begin_unwind::h14067791790174494748
   5:     0x7fd0c7bd53c0 - diagnostic::SpanHandler::span_bug::h85d108ba45cb62f281E
   6:     0x7fd0c7bf7e70 - parse::parser::Parser&lt;'a&gt;::parse_pat::h6d0073e3d8694344ZPL
   7:     0x7fd0c7bf08b0 - parse::parser::Parser&lt;'a&gt;::parse_arg_general::h8114594c0bc8a45ei9J
   8:     0x7fd0c7c1bde0 - parse::parser::Parser&lt;'a&gt;::parse_seq_to_before_end::h1598884596488876550
   9:     0x7fd0c7bef6c0 - parse::parser::Parser&lt;'a&gt;::parse_fn_args::h47c7163922b1aa1b1EM
  10:     0x7fd0c7c1c470 - parse::parser::Parser&lt;'a&gt;::parse_fn_decl::h2b34c90f31c289d7wHM
  11:     0x7fd0c7c2d020 - parse::parser::Parser&lt;'a&gt;::parse_foreign_item::hb5b9d02987c373a3rdO
  12:     0x7fd0c7c29880 - parse::parser::Parser&lt;'a&gt;::parse_foreign_mod_items::h608317c1fc7b75890JN
  13:     0x7fd0c7c11540 - parse::parser::Parser&lt;'a&gt;::parse_item_::h5342af3cfac016bc3YN
  14:     0x7fd0c7c22ab0 - parse::parser::Parser&lt;'a&gt;::parse_mod_items::hcf50c5d5eff08ba3ioN
  15:     0x7fd0c7c23e40 - parse::parser::Parser&lt;'a&gt;::eval_src_mod::hefec9279931acc91iwN
  16:     0x7fd0c7c11540 - parse::parser::Parser&lt;'a&gt;::parse_item_::h5342af3cfac016bc3YN
  17:     0x7fd0c7c22ab0 - parse::parser::Parser&lt;'a&gt;::parse_mod_items::hcf50c5d5eff08ba3ioN
  18:     0x7fd0c7c2dfe0 - parse::parser::Parser&lt;'a&gt;::parse_crate_mod::h3a386f4cf831334c9pO
  19:     0x7fd0c7c40d30 - parse::parse_crate_from_file::he93fe4d172bcd8ccjSV
  20:     0x7fd0caffe510 - driver::phase_1_parse_input::closure.15704
  21:     0x7fd0cafd8840 - driver::phase_1_parse_input::h4fb166827a2f9cbcYra
  22:     0x7fd0cafd5240 - driver::compile_input::h0bec8d7ff7428d7dGba
  23:     0x7fd0cb0a4330 - run_compiler::h71833f9bcc896daaWbc
  24:     0x7fd0cb0a2c30 - thunk::F.Invoke&lt;A, R&gt;::invoke::h14347372239080705007
  25:     0x7fd0cb0a1b20 - rt::unwind::try::try_fn::h10841254516551992180
  26:     0x7fd0caa0a280 - rust_try_inner
  27:     0x7fd0caa0a270 - rust_try
  28:     0x7fd0cb0a1e20 - thunk::F.Invoke&lt;A, R&gt;::invoke::h15709534366616734131
  29:     0x7fd0ca988a70 - sys::thread::thread_start::h15e840368764388fGdH
  30:     0x7fd0c49cda80 - start_thread
  31:                0x0 - &lt;unknown&gt;

Could not compile `android_glue`.

To learn more, run the command again with --verbose.
installing application"><pre class="notranslate"><code class="notranslate">building application
   Compiling android_glue v0.0.1 (file:///mnt/host/kmcg3413.net/FireRoute/android-clui)
/mnt/host/kmcg3413.net/FireRoute/apk-builder/glue/src/lowglue/mod.rs:39:25: 39:28 error: internal compiler error: ident only path should have been covered already
/mnt/host/kmcg3413.net/FireRoute/apk-builder/glue/src/lowglue/mod.rs:39     pub fn android_main(Arc&lt;ActivityState&gt;);
                                                                                                ^~~
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
note: run with `RUST_BACKTRACE=1` for a backtrace
thread 'rustc' panicked at 'Box&lt;Any&gt;', /mnt/host/kmcg3413.net/rust/src/libsyntax/diagnostic.rs:129

stack backtrace:
   1:     0x7fd0ca974090 - sys::backtrace::write::h4e9a31aa2e8023179rC
   2:     0x7fd0ca99cca0 - panicking::on_panic::hc7167c0722a05a78b9L
   3:     0x7fd0ca8dc860 - rt::unwind::begin_unwind_inner::h8d46481699e3751fwNL
   4:     0x7fd0c7bd5430 - rt::unwind::begin_unwind::h14067791790174494748
   5:     0x7fd0c7bd53c0 - diagnostic::SpanHandler::span_bug::h85d108ba45cb62f281E
   6:     0x7fd0c7bf7e70 - parse::parser::Parser&lt;'a&gt;::parse_pat::h6d0073e3d8694344ZPL
   7:     0x7fd0c7bf08b0 - parse::parser::Parser&lt;'a&gt;::parse_arg_general::h8114594c0bc8a45ei9J
   8:     0x7fd0c7c1bde0 - parse::parser::Parser&lt;'a&gt;::parse_seq_to_before_end::h1598884596488876550
   9:     0x7fd0c7bef6c0 - parse::parser::Parser&lt;'a&gt;::parse_fn_args::h47c7163922b1aa1b1EM
  10:     0x7fd0c7c1c470 - parse::parser::Parser&lt;'a&gt;::parse_fn_decl::h2b34c90f31c289d7wHM
  11:     0x7fd0c7c2d020 - parse::parser::Parser&lt;'a&gt;::parse_foreign_item::hb5b9d02987c373a3rdO
  12:     0x7fd0c7c29880 - parse::parser::Parser&lt;'a&gt;::parse_foreign_mod_items::h608317c1fc7b75890JN
  13:     0x7fd0c7c11540 - parse::parser::Parser&lt;'a&gt;::parse_item_::h5342af3cfac016bc3YN
  14:     0x7fd0c7c22ab0 - parse::parser::Parser&lt;'a&gt;::parse_mod_items::hcf50c5d5eff08ba3ioN
  15:     0x7fd0c7c23e40 - parse::parser::Parser&lt;'a&gt;::eval_src_mod::hefec9279931acc91iwN
  16:     0x7fd0c7c11540 - parse::parser::Parser&lt;'a&gt;::parse_item_::h5342af3cfac016bc3YN
  17:     0x7fd0c7c22ab0 - parse::parser::Parser&lt;'a&gt;::parse_mod_items::hcf50c5d5eff08ba3ioN
  18:     0x7fd0c7c2dfe0 - parse::parser::Parser&lt;'a&gt;::parse_crate_mod::h3a386f4cf831334c9pO
  19:     0x7fd0c7c40d30 - parse::parse_crate_from_file::he93fe4d172bcd8ccjSV
  20:     0x7fd0caffe510 - driver::phase_1_parse_input::closure.15704
  21:     0x7fd0cafd8840 - driver::phase_1_parse_input::h4fb166827a2f9cbcYra
  22:     0x7fd0cafd5240 - driver::compile_input::h0bec8d7ff7428d7dGba
  23:     0x7fd0cb0a4330 - run_compiler::h71833f9bcc896daaWbc
  24:     0x7fd0cb0a2c30 - thunk::F.Invoke&lt;A, R&gt;::invoke::h14347372239080705007
  25:     0x7fd0cb0a1b20 - rt::unwind::try::try_fn::h10841254516551992180
  26:     0x7fd0caa0a280 - rust_try_inner
  27:     0x7fd0caa0a270 - rust_try
  28:     0x7fd0cb0a1e20 - thunk::F.Invoke&lt;A, R&gt;::invoke::h15709534366616734131
  29:     0x7fd0ca988a70 - sys::thread::thread_start::h15e840368764388fGdH
  30:     0x7fd0c49cda80 - start_thread
  31:                0x0 - &lt;unknown&gt;

Could not compile `android_glue`.

To learn more, run the command again with --verbose.
installing application
</code></pre></div>