Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
rfc-2093-infer-outlives
/
explicit-enum.rs
blob: c330c27fea0a9cc1bcfbcaf162d8337123b85c07 [
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
()
{}