Sign in
fuchsia
/
third_party
/
rust
/
a8aa5114bf13d9c6b2b870c5bf63eab8e70a0018
/
.
/
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
()
{
}