Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
lifetimes
/
static-bound-fulfillment-with-pointer-7268.rs
blob: 8ec58e6cd800bd3a35991e58006f26f51deb064b [
file
] [
log
] [
blame
]
// https://github.com/rust-lang/rust/issues/7268
//@ check-pass
#![
allow
(
dead_code
)]
fn
foo
<
T
:
'
static
>(
_
:
T
)
{}
fn
bar
<
T
>(
x
:
&
'
static
T
)
{
foo
(
x
);
}
fn
main
()
{}