Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
rfcs
/
rfc-2093-infer-outlives
/
explicit-dyn.rs
blob: 419fb0a0e45893697c44ce7525272b357d2462f0 [
file
] [
log
] [
blame
]
#![
feature
(
rustc_attrs
)]
trait
Trait
<
'x, T> where T: '
x
{
}
#[
rustc_outlives
]
struct
Foo
<
'
a
,
A
>
//~ ERROR rustc_outlives
{
foo
:
Box
<
dyn
Trait
<
'
a
,
A
>>
}
fn
main
()
{}