rust/src/libsyntax/ext
bors ea0dc92972 Auto merge of #34424 - jseyfried:breaking_batch, r=Manishearth
Batch up libsyntax breaking changes

Batch of the following syntax-[breaking-change] changes:
 - #34213: Add a variant `Macro` to `TraitItemKind`
 - #34368: Merge the variant `QPath` of `PatKind` into the variant `PatKind::Path`
 - #34385: Move `syntax::ast::TokenTree` into a new module `syntax::tokenstream`
 - #33943:
  - Remove the type parameter from `visit::Visitor`
  - Remove `attr::WithAttrs` -- use `attr::HasAttrs` instead.
  - Change `fold_tt`/`fold_tts` to take token trees by value and avoid wrapping token trees in `Rc`.
  - Remove the field `ctxt` of `ast::Mac_`
  - Remove inherent method `attrs()` of types -- use the method `attrs` of `HasAttrs` instead.
 - #34316:
  - Remove `ast::Decl`/`ast::DeclKind` and add variants `Local` and `Item` to `StmtKind`.
  - Move the node id for statements from the `StmtKind` variants to a field of `Stmt` (making `Stmt` a struct instead of an alias for `Spanned<StmtKind>`)
  - Rename `ast::ExprKind::Again` to `Continue`.
 - #34339: Generalize and abstract `ThinAttributes` to `ThinVec<Attribute>`
  - Use `.into()` in convert between `Vec<Attribute>` and `ThinVec<Attribute>`
  - Use autoderef instead of `.as_attr_slice()`
 - #34436: Remove the optional expression from `ast::Block` and instead use a `StmtKind::Expr` at the end of the statement list.
 - #34403: Move errors into a separate crate (unlikely to cause breakage)
2016-06-27 16:42:03 -07:00
..
tt Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc 2016-06-26 02:15:04 +00:00
base.rs Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth 2016-06-26 02:18:43 +00:00
build.rs Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
expand.rs Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
mtwt.rs Remove unit tests 2016-06-20 12:13:57 +00:00
quote.rs Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
source_util.rs Auto merge of #34424 - jseyfried:breaking_batch, r=Manishearth 2016-06-27 16:42:03 -07:00