Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
issue-3029.rs
blob: 22d0906ccf7017607322c8df700bae3d45d97f3e [
file
] [
log
] [
blame
]
//@ run-fail
//@ error-pattern:so long
//@ needs-subprocess
#![
allow
(
unreachable_code
)]
fn
main
()
{
let
mut
x
=
Vec
::
new
();
let
y
=
vec
![
3
];
panic
!(
"so long"
);
x
.
extend
(
y
.
into_iter
());
}