Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
rfc-2093-infer-outlives
/
infer-static.rs
blob: bd778e3b136234f3351467c67890ccc51e6e9654 [
file
] [
log
] [
blame
]
#![
feature
(
rustc_attrs
)]
#![
feature
(
infer_static_outlives_requirements
)]
#[
rustc_outlives
]
struct
Foo
<
U
>
{
//~ ERROR rustc_outlives
bar
:
Bar
<
U
>
}
struct
Bar
<
T
:
'
static
>
{
x
:
T
,
}
fn
main
()
{}