Sign in
fuchsia
/
third_party
/
rust
/
87ef96d3946ed4add766c0a2cd72d8443e92e4a0
/
.
/
src
/
test
/
ui
/
rfc-2093-infer-outlives
/
explicit-struct.rs
blob: 3c69f9f612eaae9eda7d852117fdd48cbd71cd91 [
file
] [
log
] [
blame
]
#![
feature
(
rustc_attrs
)]
#[
rustc_outlives
]
struct
Foo
<
'
b
,
U
>
{
//~ ERROR rustc_outlives
bar
:
Bar
<
'
b
,
U
>
}
struct
Bar
<
'a, T> where T: '
a
{
x
:
&
'
a
(),
y
:
T
,
}
fn
main
()
{}