| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-06-15 | Use `slice::from_ref` instead of cloning | Shotaro Yamada | -2/+3 | |
| 2019-06-14 | Avoid some unnecessary symbol interner operations | Matthew Jasper | -11/+11 | |
| 2019-06-12 | Auto merge of #60669 - c410-f3r:attrs-fn, r=petrochenkov | bors | -2/+8 | |
| Allow attributes in formal function parameters Implements https://github.com/rust-lang/rust/issues/60406. This is my first contribution to the compiler and since this is a large and complex project, I am not fully aware of the consequences of the changes I have made. **TODO** - [x] Forbid some built-in attributes. - [x] Expand cfg/cfg_attr | ||||
| 2019-06-10 | syntax: Rename variants of `SyntaxExtension` for consistency | Vadim Petrochenkov | -45/+41 | |
| 2019-06-10 | syntax: Improve documentation of `SyntaxExtension` | Vadim Petrochenkov | -36/+54 | |
| 2019-06-10 | syntax: Remove `SyntaxExtension::DeclMacro` | Vadim Petrochenkov | -77/+61 | |
| It's a less powerful duplicate of `SyntaxExtension::NormalTT` | ||||
| 2019-06-10 | syntax: Use `MultiItemModifier` for built-in derives | Vadim Petrochenkov | -25/+22 | |
| 2019-06-10 | syntax: Remove `SyntaxExtension::MultiDecorator` and `MultiItemDecorator` | Vadim Petrochenkov | -43/+1 | |
| 2019-06-10 | syntax: Remove `SyntaxExtension::IdentTT` and `IdentMacroExpander` | Vadim Petrochenkov | -60/+0 | |
| 2019-06-09 | Allow attributes in formal function parameters | Caio | -2/+8 | |
| 2019-06-09 | pacify tidy. | Mazdak Farrokhzad | -1/+1 | |
| 2019-06-09 | Some more cleanup in libsyntax::ext::tt::quoted | Mazdak Farrokhzad | -11/+8 | |
| 2019-06-09 | Cleanups in parse_sep_and_kleene_op. | Mazdak Farrokhzad | -12/+4 | |
| 2019-06-09 | Support ? Kleene operator in 2015. | Mazdak Farrokhzad | -167/+4 | |
| 2019-06-09 | Rollup merge of #61669 - petrochenkov:tokderef2, r=oli-obk | Mazdak Farrokhzad | -66/+51 | |
| syntax: Remove `Deref` impl from `Token` Follow up to https://github.com/rust-lang/rust/pull/61541 r? @oli-obk | ||||
| 2019-06-09 | Rollup merge of #61646 - L117:master, r=Centril | Mazdak Farrokhzad | -15/+15 | |
| Remove useless allocations in macro_rules follow logic. Closes #61543 | ||||
| 2019-06-08 | syntax: Remove `Deref` impl from `Token` | Vadim Petrochenkov | -23/+13 | |
| 2019-06-08 | syntax: Move most of the `TokenKind` methods to `Token` | Vadim Petrochenkov | -9/+9 | |
| 2019-06-08 | syntax: Keep full `Token`s for `macro_rules` separators | Vadim Petrochenkov | -35/+30 | |
| 2019-06-08 | Remove useless allocations in macro_rules follow logic. | L117 | -15/+15 | |
| 2019-06-07 | parser: `self.span` -> `self.token.span` | Vadim Petrochenkov | -11/+11 | |
| 2019-06-06 | Address review comments | Vadim Petrochenkov | -12/+9 | |
| 2019-06-06 | Some code cleanup and tidy/test fixes | Vadim Petrochenkov | -21/+22 | |
| 2019-06-06 | syntax: Switch function parameter order in `TokenTree::token` | Vadim Petrochenkov | -18/+19 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Ident` | Vadim Petrochenkov | -32/+26 | |
| 2019-06-06 | syntax: Remove duplicate span from `token::Lifetime` | Vadim Petrochenkov | -2/+2 | |
| 2019-06-06 | syntax: Add some helper methods to `Token` | Vadim Petrochenkov | -8/+7 | |
| 2019-06-06 | syntax: Use `Token` in `Parser` | Vadim Petrochenkov | -17/+16 | |
| 2019-06-06 | syntax: Use `Token` in `TokenTree::Token` | Vadim Petrochenkov | -69/+74 | |
| 2019-06-06 | syntax: Rename `Token` into `TokenKind` | Vadim Petrochenkov | -21/+21 | |
| 2019-06-06 | Always use token kinds through `token` module rather than `Token` type | Vadim Petrochenkov | -23/+23 | |
| 2019-06-05 | Implemented for function bounds, type bounds, and named existential types. | Alexander Regueiro | -8/+8 | |
| 2019-06-05 | Aggregation of drive-by cosmetic changes. | Alexander Regueiro | -18/+15 | |
| 2019-06-03 | syntax: revert `ast::AsyncArgument` and associated changes. | Eduard-Mihai Burtescu | -25/+4 | |
| Here follows the main reverts applied in order to make this commit: Revert "Rollup merge of #60676 - davidtwco:issue-60674, r=cramertj" This reverts commit 45b09453dbf120cc23d889435aac3ed7d2ec8eb7, reversing changes made to f6df1f6c30b469cb9e65c5453a0efa03cbb6005e. Revert "Rollup merge of #60437 - davidtwco:issue-60236, r=nikomatsakis" This reverts commit 16939a50ea440e72cb6ecefdaabb988addb1ec0e, reversing changes made to 12bf98155249783583a91863c5dccf9e346f1226. Revert "Rollup merge of #59823 - davidtwco:issue-54716, r=cramertj" This reverts commit 62d1574876f5531bce1b267e62dff520d7adcbbb, reversing changes made to 4eff8526a789e0dfa8b97f7dec91b7b5c18e8544. | ||||
| 2019-05-29 | Introduce and use `SyntaxContext::outer_expn_info()`. | Nicholas Nethercote | -1/+1 | |
| It reduces two `hygiene_data` accesses to one on some hot paths. | ||||
| 2019-05-27 | Auto merge of #61140 - estebank:attr-diagnostics, r=michaelwoerister | bors | -2/+8 | |
| Reword malformed attribute input diagnostics - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error - Use consistend error message: "malformed `attrname` attribute input" - Provide suggestions when possible - Move note/help to label/suggestion - Use consistent wording "ill-formed" -> "malformed" - Move diagnostic logic out of parser Split up from https://github.com/rust-lang/rust/pull/61026, where there's prior conversation. | ||||
| 2019-05-27 | Use `Symbol` equality in `may_begin_with` and `parse_nt`. | Nicholas Nethercote | -27/+27 | |
| 2019-05-27 | Pass symbols to `ExtCtxt::std_path` instead of strings. | Nicholas Nethercote | -26/+16 | |
| Because this function is hot. Also remove the dead `ty_option` function. | ||||
| 2019-05-27 | Avoid unnecessary internings. | Nicholas Nethercote | -7/+4 | |
| Most involving `Symbol::intern` on string literals. | ||||
| 2019-05-25 | Reword malformed attribute input diagnostics | Esteban Küber | -2/+8 | |
| - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error - Use consistend error message: "malformed `attrname` attribute input" - Provide suggestions when possible - Move note/help to label/suggestion - Use consistent wording "ill-formed" -> "malformed" - Move diagnostic logic out of parser | ||||
| 2019-05-24 | Revert changes that belong to separate PR | Esteban Küber | -5/+2 | |
| 2019-05-24 | review comments | Esteban Küber | -7/+3 | |
| 2019-05-24 | Tweak macro parse errors when reaching EOF during macro call parse | Esteban Küber | -5/+19 | |
| - Add detail on origin of current parser when reaching EOF and stop saying "found <eof>" and point at the end of macro calls - Handle empty `cfg_attr` attribute - Reword empty `derive` attribute error | ||||
| 2019-05-23 | Auto merge of #61075 - Centril:rollup-1ugmcqu, r=Centril | bors | -8/+10 | |
| Rollup of 7 pull requests Successful merges: - #60981 (Bump compiler-builtins to 0.1.15) - #61014 (Make -Zemit-artifact-notifications also emit the artifact type) - #61043 (Disable LLVM/debug assertions in gnu-full-bootstrap) - #61046 (Fix ICE with inconsistent macro matchers) - #61055 (Solaris CI: Build with dilos2 stable) - #61057 (Revert "Add implementations of last in terms of next_back on a bunch of DoubleEndedIterators.") - #61073 (librustc_errors: Remove unused annotation style `OldSchoolNoteText`) Failed merges: r? @ghost | ||||
| 2019-05-23 | Rollup merge of #61046 - mark-i-m:transcribe-fix, r=petrochenkov | Mazdak Farrokhzad | -8/+10 | |
| Fix ICE with inconsistent macro matchers Fixes #61033 r? @petrochenkov | ||||
| 2019-05-23 | Auto merge of #60174 - matthewjasper:add-match-arm-scopes, r=pnkfelix | bors | -1/+2 | |
| Add match arm scopes and other scope fixes * Add drop and lint scopes for match arms. * Lint attributes are now respected on match arms. * Make sure we emit a StorageDead if we diverge when initializing a temporary. * Adjust MIR pretty printing of scopes for locals. * Don't generate duplicate lint scopes for `let statements`. * Add some previously missing fake borrows for matches. closes #46525 cc @rust-lang/compiler | ||||
| 2019-05-22 | Restore the old behavior of the rustdoc keyword check + Fix rebase | Vadim Petrochenkov | -6/+6 | |
| 2019-05-22 | Eliminate unnecessary `Ident::with_empty_ctxt`s | Vadim Petrochenkov | -9/+8 | |
| 2019-05-22 | Simplify use of keyword symbols | Vadim Petrochenkov | -26/+26 | |
| 2019-05-22 | these errors can happen after all | Mark Mansi | -8/+10 | |
