Sign in
fuchsia
/
third_party
/
rust
/
11a0b968c287c81680387ffcf112328d52d7e815
/
.
/
src
/
test
/
ui
/
rfc-2093-infer-outlives
/
self-structs.rs
blob: 8f2d29d6f17c2e68c78af865f6ff387d8fc39b8c [
file
] [
log
] [
blame
]
#![
feature
(
rustc_attrs
)]
#[
rustc_outlives
]
struct
Foo
<
'a, '
b
,
T
>
{
//~ ERROR rustc_outlives
field1
:
dyn
Bar
<
'a, '
b
,
T
>
}
trait
Bar
<
'x, '
s
,
U
>
where U
:
'
x
,
Self
:
'
s
{}
fn
main
()
{}