This should be fixable by special casing this (the type isn't copyable, but for this specific case the variant is).
This problem only exists with fixed-size vectors since vec::from_fn(10, |_| None) works with non-copyable types.
@nikomatsakis thinks this should be fixable
This should be fixable by special casing this (the type isn't copyable, but for this specific case the variant is).
This problem only exists with fixed-size vectors since
vec::from_fn(10, |_| None)works with non-copyable types.@nikomatsakis thinks this should be fixable