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