Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
86e0ff47a0d1afcbe9f0c8cdb54f60bb18da20df
/
.
/
src
/
test
/
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
()
{
}