Sign in
fuchsia
/
third_party
/
rust
/
03534ac8b70de1134ce7e91b172cd629048a6c8b
/
.
/
tests
/
ui
/
impl-trait
/
impl-fn-hrtb-bounds-2.rs
blob: b0aeded0ef75a0855bfe9c2382c668caf00863e3 [
file
] [
log
] [
blame
]
#![
feature
(
impl_trait_in_fn_trait_return
)]
use
std
::
fmt
::
Debug
;
fn
a
()
->
impl
Fn
(&
u8
)
->
impl
Debug
{
|
x
|
x
//~ ERROR hidden type for `impl Debug` captures lifetime that does not appear in bounds
}
fn
main
()
{}