Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
issues
/
issue-12187-1.rs
blob: 86128ed94bd71f5d90ea8029714152b239143682 [
file
] [
log
] [
blame
]
fn
new
<
T
>()
->
&
'
static
T
{
panic
!()
}
fn
main
()
{
let
&
v
=
new
();
//~^ ERROR type annotations needed
}