Sign in
fuchsia
/
third_party
/
rust
/
a526e4faa6b69f1b6ea60e5e692b679e24bb1994
/
.
/
src
/
test
/
run-fail
/
issue-2444.rs
blob: 17f89e4d20d3e34cbda5d6d3dbe0820c14b39eee [
file
] [
log
] [
blame
]
// error-pattern:explicit panic
use
std
::
sync
::
Arc
;
enum
e
<
T
>
{
ee
(
Arc
<
T
>),
}
fn
foo
()
->
e
<
isize
>
{
panic
!();
}
fn
main
()
{
let
_f
=
foo
();
}