Sign in
fuchsia
/
third_party
/
rust
/
daafeb35b731a599fc8b6c4cf37b81f838dae319
/
.
/
src
/
test
/
ui
/
rfc-2093-infer-outlives
/
self-dyn.rs
blob: aa1be144ff8769bea9678f0578822ab525fd6198 [
file
] [
log
] [
blame
]
#![
feature
(
dyn_trait
)]
#![
feature
(
rustc_attrs
)]
trait
Trait
<
'x, '
s
,
T
>
where T
:
'
x
,
'
s
:
{
}
#[
rustc_outlives
]
struct
Foo
<
'a, '
b
,
A
>
//~ ERROR rustc_outlives
{
foo
:
Box
<
dyn
Trait
<
'a, '
b
,
A
>>
}
fn
main
()
{}