Sign in
fuchsia
/
third_party
/
rust
/
08351004125c4d49aa757f2c3ec2340f7469ea91
/
.
/
src
/
test
/
ui
/
issues
/
issue-5216.rs
blob: 35b343edfbdbe870c23a63f1828936983106b212 [
file
] [
log
] [
blame
]
fn
f
()
{
}
struct
S
(
Box
<
dyn
FnMut
()>);
pub
static
C
:
S
=
S
(
f
);
//~ ERROR mismatched types
fn
g
()
{
}
type
T
=
Box
<
dyn
FnMut
()>;
pub
static
D
:
T
=
g
;
//~ ERROR mismatched types
fn
main
()
{}