Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-46471.rs
blob: 8922005d2f82c6c154efb001f187e65519618cf0 [
file
] [
log
] [
blame
]
fn
foo
()
->
&
'
static
u32
{
let
x
=
0
;
&
x
//~^ ERROR cannot return reference to local variable `x` [E0515]
}
fn
main
()
{
}