Sign in
fuchsia
/
third_party
/
rust
/
33855f80d4393bff5d1226eabf8e61f348179cee
/
.
/
tests
/
ui
/
parser
/
misspelled-keywords
/
hrdt.rs
blob: 9ca9e1bfbeeccf739b31838718e947d4c091a6be [
file
] [
log
] [
blame
]
struct
Closure
<
F
>
{
data
:
(
u8
,
u16
),
func
:
F
,
}
impl
<
F
>
Closure
<
F
>
Where
for
<
'a> F: Fn(&'
a
(
u8
,
u16
))
->
&
'
a u8
,
//~^ ERROR expected one of
{
fn
call
(&
self
)
->
&
u8
{
(
self
.
func
)(&
self
.
data
)
}
}
fn
main
()
{}