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