Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
regions
/
issue-101280.rs
blob: 29f158366f026f18ff1f004f3d26c07443f313ee [
file
] [
log
] [
blame
] [
edit
]
use
std
::
cell
::
Cell
;
type
Ty
=
for
<
'r> fn(Cell<(&'
r i32
,
&
'
r i32
)>);
fn
f
<
'r>(f: fn(Cell<(&'
r i32
,
&
i32
)>))
->
Ty
{
f
//~^ ERROR mismatched types
}
fn
main
()
{}