Sign in
fuchsia
/
third_party
/
rust
/
0.8
/
.
/
src
/
test
/
compile-fail
/
box-static-bound.rs
blob: 69d7bedbd371816956efe7657165b125feac08fe [
file
]
fn
f
<
T
>(
x
:
T
)
->
@T
{
@x
//~ ERROR value may contain borrowed pointers
}
fn
g
<
T
:
'
static
>(
x
:
T
)
->
@T
{
@x
// ok
}
fn
main
()
{}