Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
rfcs
/
rfc-2093-infer-outlives
/
self-dyn.rs
blob: c53d6c18ff65aea3dcd593d3911608a1de3a5c2b [
file
] [
log
] [
blame
] [
edit
]
#![
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
()
{}