Sign in
fuchsia
/
third_party
/
rust
/
upstream/beta
/
.
/
tests
/
ui
/
static
/
static-lifetime-bound.rs
blob: 847fe87b2ea378af454453f9bc421e04afc215dd [
file
] [
log
] [
blame
]
fn
f
<
'a: '
static
>(
_
:
&
'
a i32
)
{}
fn
main
()
{
let
x
=
0
;
f
(&
x
);
//~ERROR does not live long enough
}