//! Provider of [`SkipAttr`].
use ToTokens;
use ;
/// Item tokens after attributes.
///
/// This type is used for adjusting error report span. Normally, the tokens of
/// an item includes tokens of their attributes. However, we sometimes want to
/// exclude tokens of their attributes from error span. To achieve this, This
/// type reverts the parsed item to token stream, and skips attributes, and
/// re-parses rest token stream as item again.