Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
rfcs
/
rfc-2093-infer-outlives
/
self-dyn.rs
blob: c53d6c18ff65aea3dcd593d3911608a1de3a5c2b [
file
] [
log
] [
blame
]
#![
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
()
{}