Sign in
fuchsia
/
third_party
/
rust
/
f233a4c18bec906dab0b8531f326a15fadece547
/
.
/
src
/
test
/
ui
/
regions
/
regions-in-structs.rs
blob: 71f718ba259707e5c8f421116f5191a25817cc95 [
file
] [
log
] [
blame
]
struct
Yes1
<
'
a
>
{
x
:
&
'
a usize
,
}
struct
Yes2
<
'
a
>
{
x
:
&
'
a usize
,
}
struct
StructDecl
{
a
:
&
'a isize, //~ ERROR use of undeclared lifetime name `'
a
`
b
:
&
'a isize, //~ ERROR use of undeclared lifetime name `'
a
`
}
fn
main
()
{}