macro_rules! leak {
($ty:ty, $ident:ident) => { ... };
([$ty:ty], $ident:ident) => { ... };
}
Expand description
Wrap <$ty as ToOwned>::Owned
in a type $ident
and implement From
and test_fuzz::Into
for $ident
so that convert = "&$ty, $ident"
can be used.