index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
regions
/
owned-implies-static.rs
blob: ffbee5a4bb789e52b63262265c35d74b570b2f1f (
plain
)
1
2
3
4
5
6
7
//@ run-pass
fn
f
<
T
:
'
static
>
(
_x
:
T
)
{}
pub
fn
main
()
{
f
(
Box
::
new
(
5
));
}