Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
HEAD
/
.
/
tests
/
ui
/
where-clauses
/
where-clause-region-outlives.rs
blob: 47a6d4682044677c10d9fdf8cbad80c311b02e40 [
file
] [
log
] [
blame
]
//@ run-pass
#![
allow
(
dead_code
)]
#![
allow
(
unused_variables
)]
struct
A
<
'a, '
b
>
where
'a : '
b
{
x
:
&
'a isize, y: &'
b isize
}
fn
main
()
{
let
x
=
1
;
let
y
=
1
;
let
a
=
A
{
x
:
&
x
,
y
:
&
y
};
}