Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
run-pass
/
issues
/
issue-3052.rs
blob: 927102981e7f9ce72f0564fda24b4bd187cfe5dc [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
dead_code
)]
// pretty-expanded FIXME #23616
type
Connection
=
Box
<
FnMut
(
Vec
<
u8
>)
+
'
static
>;
fn
f
()
->
Option
<
Connection
>
{
let
mock_connection
:
Connection
=
Box
::
new
(|
_
|
{});
Some
(
mock_connection
)
}
pub
fn
main
()
{
}