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