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
From the discussion in rust-lang/rust#45247 it sounds like they intend to remove usage of the old form in rust-lang/rust as soon as stage0 is able to parse the new form, which may or may not happen before syn 0.12 is done. I would definitely prefer to remove the old form from the AST. The round trip test still needs to deal with the old form, so I leave it up to you whether we blacklist all the files containing impl for .. or parse it into some sentinel Item::Macro which is recognized and treated specially by ToTokens for ItemMacro.
// input tokensimplSendfor .. {}// parsed into Item::Macro as if they had been this
syn::verbatim! {implSendfor .. {}}// printed by ToTokensimplSendfor .. {}
The syntax has changed from:
to:
The text was updated successfully, but these errors were encountered: