Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
in-band-lifetimes
/
E0687_where.rs
blob: 6cf8053287d8ff2d528ddd518e02ff9f178940f6 [
file
] [
log
] [
blame
]
#![
allow
(
warnings
)]
#![
feature
(
in_band_lifetimes
)]
fn
bar
<
F
>(
x
:
&
F
)
where F
:
Fn
(&
'
a u32
)
{}
//~ ERROR must be explicitly
fn
baz
(
x
:
&
impl
Fn
(&
'
a u32
))
{}
//~ ERROR must be explicitly
fn
main
()
{}