Error code E0366
An attempt was made to implement Drop
on a concrete specialization of a
generic type. An example is shown below:
ⓘ
This code is not legal: it is not possible to specialize Drop
to a subset of
implementations of a generic type. One workaround for this is to wrap the
generic type, as shown below: