Sign in
rust
/
rust
/
e8a00a7621606f8c4a34b679cefaaa6aecf2442e
/
.
/
tests
/
ui
/
issues
/
issue-17033.rs
blob: b8eec3b6b250525d86deb390b57aaaa7456db474 [
file
]
fn
f
<
'r>(p: &'
r
mut
fn
(
p
:
&
mut
()))
{
(*
p
)(())
//~ ERROR mismatched types
//~| NOTE expected `&mut ()`, found `()`
//~| NOTE arguments to this function are incorrect
}
fn
main
()
{}