Issue 1:
I tried this code:

struct ostage<'a> {
nodes: Vec<Node<'a>>
}

impl<'a> ostage<'a> {
fn append_nodes(&self, Vec<Node>) {
self.nodes.append(&mut new_nodes);
}
}

(definition of Node ommitted, the bug already occurs in this short snippet)

I expected to see this happen: The compiler should complain about the not existent naming of the second parameter of append_nodes.

Instead, this happened: Compiler said:

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(&self, Vec<Node>) {
^~~
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<Any>', /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/libsyntax/diagnostic.rs:129

Meta

rustc --version --verbose:

1.0.0-nightly (522d09d 2015-02-19) (built 2015-02-21)

binary: rustc

commit-hash: 522d09d

commit-date: 2015-02-19

build-date: 2015-02-21

host: x86_64-unknown-linux-gnu

release: 1.0.0-nightly

Backtrace:

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<'a>::parse_pat::hb2ecf80c7f350654wLL
7: 0x7fbbc30ede80 - parse::parser::Parser<'a>::parse_arg_general::hcec437b628467db684J
8: 0x7fbbc311c860 - parse::parser::Parser<'a>::parse_seq_to_before_end::h6260280699255559793
9: 0x7fbbc3119b30 - parse::parser::Parser<'a>::parse_method::h0d3e8afbedb80840ZWM
10: 0x7fbbc311d5c0 - parse::parser::Parser<'a>::parse_item_impl::hd52de03300e36175z4M
11: 0x7fbbc310e370 - parse::parser::Parser<'a>::parse_item_::h60b4bcefd23d6140zUN
12: 0x7fbbc311f8e0 - parse::parser::Parser<'a>::parse_mod_items::h79ee3c5e427ceaaaPjN
13: 0x7fbbc312ae30 - parse::parser::Parser<'a>::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<A, R>::invoke::h14556331494175157254
20: 0x7fbbc65a8aa0 - rt::unwind::try::try_fn::h8181016918202193540
21: 0x7fbbc5f10880 - rust_try_inner
22: 0x7fbbc5f10870 - rust_try
23: 0x7fbbc65a8da0 - thunk::F.Invoke<A, R>::invoke::h12418455792421810631
24: 0x7fbbc5e8fb60 - sys::thread::thread_start::h3defdaea150d8cd693G
25: 0x7fbbbfd912b0 - start_thread
26: 0x7fbbc5a6d249 - __clone
27: 0x0 - <unknown>

Issue 2:
rustc 1.0.0-dev (f0f7ca27d 2015-02-23) (built 2015-02-23)

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<ActivityState>);
^~~
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<Any>', /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<'a>::parse_pat::h6d0073e3d8694344ZPL
7: 0x7fd0c7bf08b0 - parse::parser::Parser<'a>::parse_arg_general::h8114594c0bc8a45ei9J
8: 0x7fd0c7c1bde0 - parse::parser::Parser<'a>::parse_seq_to_before_end::h1598884596488876550
9: 0x7fd0c7bef6c0 - parse::parser::Parser<'a>::parse_fn_args::h47c7163922b1aa1b1EM
10: 0x7fd0c7c1c470 - parse::parser::Parser<'a>::parse_fn_decl::h2b34c90f31c289d7wHM
11: 0x7fd0c7c2d020 - parse::parser::Parser<'a>::parse_foreign_item::hb5b9d02987c373a3rdO
12: 0x7fd0c7c29880 - parse::parser::Parser<'a>::parse_foreign_mod_items::h608317c1fc7b75890JN
13: 0x7fd0c7c11540 - parse::parser::Parser<'a>::parse_item_::h5342af3cfac016bc3YN
14: 0x7fd0c7c22ab0 - parse::parser::Parser<'a>::parse_mod_items::hcf50c5d5eff08ba3ioN
15: 0x7fd0c7c23e40 - parse::parser::Parser<'a>::eval_src_mod::hefec9279931acc91iwN
16: 0x7fd0c7c11540 - parse::parser::Parser<'a>::parse_item_::h5342af3cfac016bc3YN
17: 0x7fd0c7c22ab0 - parse::parser::Parser<'a>::parse_mod_items::hcf50c5d5eff08ba3ioN
18: 0x7fd0c7c2dfe0 - parse::parser::Parser<'a>::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<A, R>::invoke::h14347372239080705007
25: 0x7fd0cb0a1b20 - rt::unwind::try::try_fn::h10841254516551992180
26: 0x7fd0caa0a280 - rust_try_inner
27: 0x7fd0caa0a270 - rust_try
28: 0x7fd0cb0a1e20 - thunk::F.Invoke<A, R>::invoke::h15709534366616734131
29: 0x7fd0ca988a70 - sys::thread::thread_start::h15e840368764388fGdH
30: 0x7fd0c49cda80 - start_thread
31: 0x0 - <unknown>

Could not compile `android_glue`.

To learn more, run the command again with --verbose.
installing application