Sign in
fuchsia
/
third_party
/
rust
/
7de9402b77ded0d8ec9e1c554521b2121449ef2b
/
.
/
src
/
test
/
ui
/
nll
/
borrowed-universal-error-2.rs
blob: 3f9b2f2924c2cf3d4c8a9c1bef71f0ccee5609f6 [
file
] [
log
] [
blame
]
fn
foo
<
'a>(x: &'
a
(
u32
,))
->
&
'
a u32
{
let
v
=
22
;
&
v
//~^ ERROR cannot return reference to local variable `v` [E0515]
}
fn
main
()
{}