| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-11-21 | Fix fallout in `rustdoc` and tests. | Jeffrey Seyfried | -3/+2 | |
| 2016-11-20 | Move `syntax::util::interner` -> `syntax::symbol`, cleanup. | Jeffrey Seyfried | -1/+2 | |
| 2016-11-20 | Refactor `P<ast::MetaItem>` -> `ast::MetaItem`. | Jeffrey Seyfried | -10/+9 | |
| 2016-11-20 | Move `MetaItemKind`'s `Name` to a field of `MetaItem`. | Jeffrey Seyfried | -6/+7 | |
| 2016-11-20 | Refactor away `ast::Attribute_`. | Jeffrey Seyfried | -10/+7 | |
| 2016-11-10 | syntax: don't fake a block around closures' bodies during parsing. | Eduard Burtescu | -1/+1 | |
| 2016-11-03 | Make `ast::ExprKind` smaller. | Jeffrey Seyfried | -30/+16 | |
| 2016-11-03 | Reduce the size of `Token` and make it cheaper to clone by refactoring | Jeffrey Seyfried | -13/+18 | |
| `Token::Interpolated(Nonterminal)` -> `Token::Interpolated(Rc<Nonterminal>)`. | ||||
| 2016-10-29 | Move `CrateConfig` from `Crate` to `ParseSess`. | Jeffrey Seyfried | -4/+1 | |
| 2016-10-27 | Implement field shorthands in struct literal expressions. | Eduard Burtescu | -4/+5 | |
| 2016-10-01 | Rollup merge of #34764 - pnkfelix:attrs-on-generic-formals, r=eddyb | Manish Goregaokar | -1/+11 | |
| First step for #34761 | ||||
| 2016-09-28 | libsyntax: clearer names for some AST parts | Jonas Schievink | -5/+5 | |
| This applies the HIR changes from the previous commits to the AST, and is thus a syntax-[breaking-change] Renames `PatKind::Vec` to `PatKind::Slice`, since these are called slice patterns, not vec patterns. Renames `TyKind::Vec`, which represents the type `[T]`, to `TyKind::Slice`. Renames `TyKind::FixedLengthVec` to `TyKind::Array`. | ||||
| 2016-09-23 | Add attribute support to generic lifetime and type parameters. | Felix S. Klock II | -1/+11 | |
| I am using `ThinAttributes` rather than a vector for attributes attached to generics, since I expect almost all lifetime and types parameters to not carry any attributes. | ||||
| 2016-09-17 | Ensure that macro invocations are folded and visited the same order. | Jeffrey Seyfried | -53/+31 | |
| 2016-09-13 | Refactor `noop_fold_stmt_kind` out of `noop_fold_stmt`. | Jeffrey Seyfried | -37/+13 | |
| 2016-08-29 | Future proof the AST for `union`. | Jeffrey Seyfried | -0/+4 | |
| 2016-08-28 | Rollup merge of #35850 - SergioBenitez:master, r=nrc | Jeffrey Seyfried | -1/+18 | |
| Implement RFC#1559: allow all literals in attributes Implemented rust-lang/rfcs#1559, tracked by #34981. | ||||
| 2016-08-28 | Rollup merge of #35618 - jseyfried:ast_view_path_refactor, r=eddyb | Jeffrey Seyfried | -12/+4 | |
| Refactor `PathListItem`s This refactors away variant `Mod` of `ast::PathListItemKind` and refactors the remaining variant `Ident` to a struct `ast::PathListItem_`. | ||||
| 2016-08-25 | Implement RFC#1559: allow all literals in attributes. | Sergio Benitez | -1/+18 | |
| 2016-08-21 | Refactor away variant `ast::PathListItemKind::Mod` | Jeffrey Seyfried | -12/+4 | |
| and refactor `ast::PathListItemKind::Ident` -> `ast::PathListItem_`. | ||||
| 2016-08-18 | Add Span field for Generics structs | Guillaume Gomez | -1/+2 | |
| 2016-08-13 | Rename empty/bang to never | Andrew Cann | -1/+1 | |
| Split Ty::is_empty method into is_never and is_uninhabited | ||||
| 2016-08-13 | Remove obsolete divergence related stuff | Andrew Cann | -1/+0 | |
| Replace FnOutput with Ty Replace FnConverging(ty) with ty Purge FnDiverging, FunctionRetTy::NoReturn and FunctionRetTy::None | ||||
| 2016-08-13 | Start implementation of RFC 1216 (make ! a type) | Andrew Cann | -0/+1 | |
| Add `TyKind::Empty` and fix resulting build errors. | ||||
| 2016-08-12 | syntax: add anonymized type syntax, i.e. impl TraitA+TraitB. | Eduard Burtescu | -0/+3 | |
| 2016-07-04 | Revert "Change `fold_tt` and `fold_tts` to take token trees by value ↵ | Jeffrey Seyfried | -19/+27 | |
| (instead of by reference)" This reverts commit 5bf7970ac70b4e7781e7b2f3816720aa62fac6fd. | ||||
| 2016-06-29 | Give `ast::ExprKind::Paren` no-op expressions the same node ids as their ↵ | Jeffrey Seyfried | -2/+11 | |
| children. | ||||
| 2016-06-26 | Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb | Jeffrey Seyfried | -2/+1 | |
| To allow these braced macro invocation, this PR removes the optional expression from `ast::Block` and instead uses a `StmtKind::Expr` at the end of the statement list. Currently, braced macro invocations in blocks can expand into statements (and items) except when they are last in a block, in which case they can only expand into expressions. For example, ```rust macro_rules! make_stmt { () => { let x = 0; } } fn f() { make_stmt! {} //< This is OK... let x = 0; //< ... unless this line is commented out. } ``` Fixes #34418. | ||||
| 2016-06-26 | Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth | Jeffrey Seyfried | -8/+5 | |
| Generalize and abstract `ThinAttributes` to `ThinVec<Attribute>`. | ||||
| 2016-06-26 | Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb | Jeffrey Seyfried | -43/+34 | |
| Refactor away `ast::Decl`, refactor `ast::Stmt`, and rename `ast::ExprKind::Again` to `ast::ExprKind::Continue`. | ||||
| 2016-06-26 | Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc | Jeffrey Seyfried | -30/+19 | |
| Miscellaneous low priority cleanup in `libsyntax`. | ||||
| 2016-06-26 | Rollup merge of #34385 - cgswords:tstream, r=nrc | Jeffrey Seyfried | -0/+1 | |
| syntax-[breaking-change] cc #31645 (Only breaking because ast::TokenTree is now tokenstream::TokenTree.) This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566). | ||||
| 2016-06-25 | Rollup merge of #34403 - jonathandturner:move_liberror, r=alexcrichton | Jeffrey Seyfried | -1/+2 | |
| This PR refactors the 'errors' part of libsyntax into its own crate (librustc_errors). This is the first part of a few refactorings to simplify error reporting and potentially support more output formats (like a standardized JSON output and possibly an --explain mode that can work with the user's code), though this PR stands on its own and doesn't assume further changes. As part of separating out the errors crate, I have also refactored the code position portion of codemap into its own crate (libsyntax_pos). While it's helpful to have the common code positions in a separate crate for the new errors crate, this may also enable further simplifications in the future. | ||||
| 2016-06-25 | Rollup merge of #34368 - petrochenkov:astqpath, r=Manishearth | Jeffrey Seyfried | -6/+5 | |
| The AST part of https://github.com/rust-lang/rust/pull/34365 plugin-[breaking-change] cc https://github.com/rust-lang/rust/issues/31645 | ||||
| 2016-06-23 | Remove field `expr` of `ast::Block` | Jeffrey Seyfried | -2/+1 | |
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -1/+2 | |
| 2016-06-21 | Refactored tokentrees into their own files in preparation for tokenstreams. ↵ | cgswords | -0/+1 | |
| Modified tests to point to the new file now. | ||||
| 2016-06-20 | Merge PatKind::QPath into PatKind::Path in AST | Vadim Petrochenkov | -6/+5 | |
| 2016-06-19 | Generalize and abstract `ThinAttributes` | Jeffrey Seyfried | -6/+5 | |
| 2016-06-17 | Rename `ast::ExprKind::Again` -> `ast::ExprKind::Continue` | Jeffrey Seyfried | -1/+1 | |
| 2016-06-17 | Fix fallout | Jeffrey Seyfried | -42/+33 | |
| 2016-06-14 | Change `fold_tt` and `fold_tts` to take token trees by value (instead of by ↵ | Jeffrey Seyfried | -29/+19 | |
| reference) | ||||
| 2016-06-14 | Refactor away field `ctxt` of `ast::Mac_` | Jeffrey Seyfried | -1/+0 | |
| 2016-06-13 | Add support for macro expansion inside trait items | Joseph Dunne | -0/+3 | |
| 2016-05-27 | Rollup merge of #33644 - petrochenkov:selfast, r=nrc | Manish Goregaokar | -32/+1 | |
| The AST part of https://github.com/rust-lang/rust/pull/33505. https://github.com/rust-lang/rust/pull/33505 isn't landed yet, so this PR is based on top of it. r? @nrc plugin-[breaking-change] cc #31645 @Manishearth | ||||
| 2016-05-27 | Rollup merge of #33639 - petrochenkov:dotdot, r=nmatsakis | Manish Goregaokar | -3/+5 | |
| cc https://github.com/rust-lang/rust/issues/33627 r? @nikomatsakis plugin-[breaking-change] cc https://github.com/rust-lang/rust/issues/31645 @Manishearth | ||||
| 2016-05-26 | Implement `..` in tuple (struct) patterns | Vadim Petrochenkov | -3/+5 | |
| 2016-05-25 | Add a new AST-only type variant `ImplicitSelf` | Vadim Petrochenkov | -2/+1 | |
| 2016-05-25 | Remove ExplicitSelf from AST | Vadim Petrochenkov | -31/+1 | |
| 2016-05-24 | syntax/hir: give loop labels a span | Georg Brandl | -4/+8 | |
| This makes the "shadowing labels" warning *not* print the entire loop as a span, but only the lifetime. Also makes #31719 go away, but does not fix its root cause (the span of the expanded loop is still wonky, but not used anymore). | ||||
