Sign in
fuchsia
/
third_party
/
rust
/
d5e5ef5c8958d3e59969652821d3cd0b8e185345
/
.
/
tests
/
ui
/
lifetimes
/
issue-79187.rs
blob: 8e13045623b3d1b2d2e1d20cab517338d1682a9e [
file
] [
log
] [
blame
]
fn
thing
(
x
:
impl
FnOnce
(&
u32
))
{}
fn
main
()
{
let
f
=
|
_
|
();
thing
(
f
);
//~^ ERROR mismatched types
//~^^ ERROR implementation of `FnOnce` is not general enough
}