Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-17033.rs
blob: 72a8cd9823a4bdc32b1954e8d17e3c481e719633 [
file
] [
log
] [
blame
] [
edit
]
fn
f
<
'r>(p: &'
r
mut
fn
(
p
:
&
mut
()))
{
(*
p
)(())
//~ ERROR mismatched types
//~| expected `&mut ()`, found `()`
}
fn
main
()
{}