use a SmallVec
in impl_or_trait_item
#83932
Merged
SmallVec
in impl_or_trait_item
#83932