Sign in
rust
/
rust-lang
/
rust
/
refs/heads/try
/
.
/
tests
/
ui
/
issues
/
issue-46983.rs
blob: 4bd49a8796b348a5c60266fdd2410f7b43784837 [
file
] [
log
] [
blame
]
fn
foo
(
x
:
&
u32
)
->
&
'
static
u32
{
&*
x
//~^ ERROR lifetime may not live long enough
}
fn
main
()
{}