| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-08-30 | Future proof `libsyntax_ext` for `union`. | Jeffrey Seyfried | -0/+14 | |
| 2016-08-28 | Rollup merge of #35917 - jseyfried:remove_attr_ext_traits, r=nrc | Jeffrey Seyfried | -2/+0 | |
| syntax: Remove traits `AttrMetaMethods`, `AttributeMethods`, and `AttrNestedMetaItemMethods` | ||||
| 2016-08-28 | Rollup merge of #35850 - SergioBenitez:master, r=nrc | Jeffrey Seyfried | -5/+5 | |
| Implement RFC#1559: allow all literals in attributes Implemented rust-lang/rfcs#1559, tracked by #34981. | ||||
| 2016-08-28 | Rollup merge of #35728 - petrochenkov:empderive, r=manishearth | Jeffrey Seyfried | -30/+36 | |
| Fix #[derive] for empty tuple structs/variants This was missing from https://github.com/rust-lang/rust/pull/35138 | ||||
| 2016-08-28 | Rollup merge of #35480 - KiChjang:e0379-bonus, r=nikomatsakis | Jeffrey Seyfried | -2/+3 | |
| Move E0379 check from typeck to ast validation Part of #35233. Extension of #35338, #35364. Fixes #35404. | ||||
| 2016-08-27 | Change Constness to Spanned<Constness> | Keith Yeung | -2/+3 | |
| 2016-08-25 | Refactor away `AttrMetaMethods`. | Jeffrey Seyfried | -2/+0 | |
| 2016-08-25 | Refactor away `AttrNestedMetaItemMethods`. | Jeffrey Seyfried | -1/+1 | |
| 2016-08-25 | Implement RFC#1559: allow all literals in attributes. | Sergio Benitez | -5/+5 | |
| 2016-08-18 | Add Span field for Generics structs | Guillaume Gomez | -3/+6 | |
| 2016-08-18 | Split `AstBuilder::pat_enum` into `pat_tuple_struct` and `pat_path` | Vadim Petrochenkov | -22/+28 | |
| 2016-08-18 | Fix #[derive] for empty tuple structs/variants | Vadim Petrochenkov | -8/+8 | |
| 2016-08-12 | run rustfmt on libsyntax_ext folder | Srinivas Reddy Thatiparthy | -247/+273 | |
| 2016-07-30 | Rollup merge of #35106 - xen0n:issue-35082, r=alexcrichton | Manish Goregaokar | -1/+3 | |
| syntax_ext: format: fix ICE with bad named arguments Fixes #35082 by guarding against a new case of malformed invocation not previously covered. r? @alexcrichton | ||||
| 2016-07-29 | syntax_ext: format: fix ICE with bad named arguments | Wang Xuerui | -1/+3 | |
| 2016-07-25 | General MetaItem encapsulation rewrites. | cgswords | -10/+9 | |
| 2016-07-19 | Run rustfmt on libsyntax_ext/deriving folder | Srinivas Reddy Thatiparthy | -927/+932 | |
| 2016-07-14 | syntax_ext: format: better code documentation | Wang Xuerui | -12/+46 | |
| 2016-07-14 | syntax_ext: format: de-duplicate argument objects | Wang Xuerui | -12/+31 | |
| 2016-07-14 | syntax_ext: format: process counts uniquely and separately | Wang Xuerui | -11/+62 | |
| 2016-07-14 | syntax_ext: format: allow multiple formats for one argument | Wang Xuerui | -69/+57 | |
| This commit removed the restriction of only allowing one type per argument. This is achieved by adding mappings between macro arguments and format placeholders, then taking the mapping into consideration when emitting the Arguments expression. syntax_ext: format: fix implicit positional arguments syntax_ext: format: don't panic if no args given for implicit positional args Check the list lengths before use. Fixes regression of `compile-fail/macro-backtrace-println.rs`. syntax_ext: format: also map CountIsParam indices to expanded args syntax_ext: format: fix ICE in case of malformed format args | ||||
| 2016-07-14 | syntax_ext: format: rename variants of ArgumentType for clarity | Wang Xuerui | -7/+7 | |
| 2016-07-14 | syntax_ext: format: resolve named arguments early | Wang Xuerui | -85/+62 | |
| Converts named argument references into indices, right after verification as suggested by @alexcrichton. This drastically simplifies the whole process! | ||||
| 2016-07-14 | syntax_ext: format: separate verification and translation of pieces | Wang Xuerui | -5/+11 | |
| 2016-07-14 | format: remove all implicit ref handling outside of libfmt_macros | Wang Xuerui | -17/+12 | |
| format: beautifully get rid of ArgumentNext and CountIsNextParam Now that CountIsNextParam and ArgumentNext are resolved during parse, the need for handling them outside of libfmt_macros is obviated. Note: *one* instance of implicit reference handling still remains, and that's for implementing `all_args_simple`. It's trivial enough though, so in this case it may be tolerable. | ||||
| 2016-07-06 | Correct inline assembly clobber formatting. | CensoredUsername | -0/+3 | |
| Fixes the formatting for inline assembly clobbers used in the book. As this causes llvm to silently ignore the clobber an error is also added to catch cases in which the wrong formatting was used. Additionally a test case is added to confirm that this error works. | ||||
| 2016-07-03 | prefer `if let` to match with `None => {}` arm in some places | Zack M. Davis | -29/+17 | |
| This is a spiritual succesor to #34268/8531d581, in which we replaced a number of matches of None to the unit value with `if let` conditionals where it was judged that this made for clearer/simpler code (as would be recommended by Manishearth/rust-clippy's `single_match` lint). The same rationale applies to matches of None to the empty block. | ||||
| 2016-06-29 | Disallow `derive` on items with type macros | Jeffrey Seyfried | -4/+14 | |
| 2016-06-26 | Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb | Jeffrey Seyfried | -16/+14 | |
| 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 | -3/+3 | |
| Generalize and abstract `ThinAttributes` to `ThinVec<Attribute>`. | ||||
| 2016-06-26 | Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb | Jeffrey Seyfried | -8/+11 | |
| 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 | -2/+2 | |
| Miscellaneous low priority cleanup in `libsyntax`. | ||||
| 2016-06-26 | Rollup merge of #34385 - cgswords:tstream, r=nrc | Jeffrey Seyfried | -14/+19 | |
| 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-23 | Refactor away duplicate method `ecx.block_all()` | Jeffrey Seyfried | -1/+1 | |
| 2016-06-23 | Remove field `expr` of `ast::Block` | Jeffrey Seyfried | -18/+17 | |
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -27/+34 | |
| 2016-06-21 | Refactored tokentrees into their own files in preparation for tokenstreams. ↵ | cgswords | -14/+19 | |
| Modified tests to point to the new file now. | ||||
| 2016-06-19 | Generalize and abstract `ThinAttributes` | Jeffrey Seyfried | -3/+3 | |
| 2016-06-17 | Fix fallout | Jeffrey Seyfried | -8/+13 | |
| 2016-06-16 | Simplify gated cfg checking | Jeffrey Seyfried | -8/+1 | |
| 2016-06-14 | Remove the type parameter from `syntax::visit::Visitor` | Jeffrey Seyfried | -2/+2 | |
| 2016-05-31 | simplify HR subtyping back to what we did before | Niko Matsakis | -1/+1 | |
| A lot of the refactors, however, seem helpful, so leave those in, particularly since we may want to make this change in the future. | ||||
| 2016-05-28 | Use the span of `#[derive_Eq]` for `#[structural_match]` | Jeffrey Seyfried | -42/+14 | |
| 2016-05-28 | Refactor away `set_expn_info` | Jeffrey Seyfried | -9/+2 | |
| 2016-05-28 | Fix spans of generated `#[derive_*]` attributes | Jeffrey Seyfried | -45/+44 | |
| 2016-05-25 | Add a new AST-only type variant `ImplicitSelf` | Vadim Petrochenkov | -3/+0 | |
| 2016-05-25 | Remove ExplicitSelf from AST | Vadim Petrochenkov | -30/+22 | |
| 2016-05-23 | Auto merge of #33735 - jseyfried:concat_idents_in_ty_positions, r=nrc | bors | -18/+32 | |
| Allow `concat_idents!` in type positions as well as in expression positions This allows the `concat_idents!` macro in type positions as well as in expression positions. r? @nrc | ||||
| 2016-05-19 | Allow `concat_idents!` in type positions as well as in expression positions | Jeffrey Seyfried | -18/+32 | |
| 2016-05-18 | Rollup merge of #33666 - xen0n:no-more-nest-levels, r=nikomatsakis | Manish Goregaokar | -21/+5 | |
| syntax_ext: format: nest_level's are no more Just noticed this while working on #33642 and here's a quick fix, shouldn't touch anything else. It's some historic code indeed... | ||||
