Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
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
()
{}