Add a helper 'Item::replace_attrs' method
Add a helper 'Item::replace_attrs' method

'Item::replace_attrs' is modeled after the 'Expr::replace_attrs' method, and can
help avoid speculative parsing.

dtolnay/syn