You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of yet, MultiItemModifiers can only return a single item, which can lead to problems with expanding macros or preprending items, e.g. extern crate foo; use foo::bar to avoid requiring users to manually import items.
A simple solution would be to change Annotatable to work on SmallVecs of Items/TraitItems/ImplItems. However, this would break all procedural macros using this interface.
The text was updated successfully, but these errors were encountered:
As of yet, MultiItemModifiers can only return a single item, which can lead to problems with expanding macros or preprending items, e.g.
extern crate foo; use foo::bar
to avoid requiring users to manually import items.A simple solution would be to change Annotatable to work on
SmallVec
s ofItem
s/TraitItem
s/ImplItem
s. However, this would break all procedural macros using this interface.The text was updated successfully, but these errors were encountered: