Issue 1:
When compiling:

fn main() {
let x = [];
}

rustc dies with:

thread 'rustc' panicked at 'Box<Any>', /Users/roberthencke/src/rust/src/libsyntax/diagnostic.rs:130

stack backtrace:
1: 0x107814644 - sys::backtrace::write::hc9fdfba4d7b15a9dYAD
2: 0x10783f798 - panicking::on_panic::h8bb366db13a7bf028qJ
3: 0x10775c71e - rt::unwind::begin_unwind_inner::h1d0bef9a44801ec8i9I
4: 0x106f56ade - rt::unwind::begin_unwind::h12157501815572839086
5: 0x106f56a8b - diagnostic::SpanHandler::span_bug::hfafb793ceb7823c8taB
6: 0x10472bc9c - session::Session::span_bug::he70fb12f8935aafaPPn
7: 0x103eb31eb - check::regionck::visit_expr::h4c8800f0a1106c751Hd
8: 0x103eb3b51 - check::regionck::visit_local::h8f9bb4823989e3586Ed
9: 0x103eadff9 - check::regionck::Rcx<'a, 'tcx>::visit_fn_body::hc1a37803b1d3181eekd
10: 0x103f3ff96 - check::check_bare_fn::hb32b581dc74a9b093nn
11: 0x103f37fcb - check::check_item::hd9f7940ef6a90ee9OGn
12: 0x1040115b6 - check_crate::closure.35998
13: 0x10400c47a - check_crate::hcda5f3cefbfd5d5fOmC
14: 0x103d49787 - driver::phase_3_run_analysis_passes::h026e769b2b844eb5rGa
15: 0x103d2f7c7 - driver::compile_input::hb475e8fd7969563dRba
16: 0x103de9513 - run_compiler::h6333b890b54b4387s2b
17: 0x103de70a5 - thunk::F.Invoke<A, R>::invoke::h5287984335417981805
18: 0x103de6467 - rt::unwind::try::try_fn::h14175969919979542003
19: 0x1078c8648 - rust_try_inner
20: 0x1078c8635 - rust_try
21: 0x103de6805 - thunk::F.Invoke<A, R>::invoke::h18234926616775157777
22: 0x10782a72d - sys::thread::create::thread_start::h3ba002124437c3be86H
23: 0x7fff8ef22267 - _pthread_body
24: 0x7fff8ef221e4 - _pthread_start

rustc --version --verbose gives:

rustc 1.0.0-dev (1501f33e7 2015-03-26) (built 2015-03-26)
binary: rustc
commit-hash: 1501f33e76f6f9621aa08fb0cbbc5f85a5ac7f0f
commit-date: 2015-03-26
build-date: 2015-03-26
host: x86_64-apple-darwin
release: 1.0.0-dev

Issue 2:
Test case:

fn main() { []; }

Output:

$ RUST_BACKTRACE=1 rustc test.rs
test.rs:1:13: 1:15 error: internal compiler error: cat_expr Errd
test.rs:1 fn main() { []; }
^~
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

stack backtrace:
1: 0xcc029720 - sys::backtrace::write::h66f3f2784d0f6c5ddgA
2: 0xcc051b80 - panicking::on_panic::h6fdde9e4e9166fe6jaJ
3: 0xcbf91c30 - rt::unwind::begin_unwind_inner::hba10c536ef2aae75MQI
4: 0xc92a10c0 - rt::unwind::begin_unwind::h11287547919384241778
5: 0xc92a1050 - diagnostic::SpanHandler::span_bug::h551f703868554ecfUBD
6: 0xc9e32fe0 - session::Session::span_bug::h10f6b5fdbea6485fbjp
7: 0xcb6c5920 - check::regionck::visit_expr::hc78138689559ecf8Yrd
8: 0xcb6c35c0 - check::regionck::Rcx<'a, 'tcx>::visit_fn_body::h75e2fac33dc50b43a4c
9: 0xcb75ee50 - check::check_bare_fn::hf42e5aabaa5cb880Oan
10: 0xcb756f40 - check::check_item::hdbe569c101f96905stn
11: 0xcb822f10 - check_crate::closure.36015
12: 0xcb81d9c0 - check_crate::h9d44bf3fde687089EXB
13: 0xcc6a38c0 - driver::phase_3_run_analysis_passes::h36c633d41f11ca74wFa
14: 0xcc689ec0 - driver::compile_input::h0de317319ab5c701Hba
15: 0xcc754e20 - run_compiler::hffa0c0711e361de8E5b
16: 0xcc753720 - thunk::F.Invoke<A, R>::invoke::h12673221910893163557
17: 0xcc752610 - rt::unwind::try::try_fn::h15130568597725528481
18: 0xcc0bd740 - rust_try_inner
19: 0xcc0bd730 - rust_try
20: 0xcc752910 - thunk::F.Invoke<A, R>::invoke::h3924406537784056782
21: 0xcc03d990 - sys::thread::thread_start::h3734be2229bd3edegEE
22: 0xc5f650c0 - start_thread
23: 0xcbc0a449 - __clone
24: 0x0 - <unknown>

Compiler version:

rustc 1.0.0-nightly (b47aebe3f 2015-02-26) (built 2015-02-27)
binary: rustc
commit-hash: b47aebe3fc2da06c760fd8ea19f84cbc41d34831
commit-date: 2015-02-26
build-date: 2015-02-27
host: x86_64-unknown-linux-gnu
release: 1.0.0-nightly

I modified the test case in #22894 by moving the &*"" into fn main(), and I saw the same ICE. I then changed the "" to the similar &[], and I saw an ICE with a different error message and a different stack trace (e.g. phase 3 instead of phase 4). The & and * are unnecessary.

I also see the cat_expr Errd message in #22037, but there are differences -- this issue happens in phase 3 rather than 4, and there is no "fictitious type" message.