Sign in
fuchsia
/
third_party
/
rust
/
c38f75c21f016bffbf841ed5abce338f94201bde
/
.
/
tests
/
ui
/
borrowck
/
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
()
{
}