summary refs log tree commit diff
path: root/src/libsyntax/ext/tt/macro_rules.rs
AgeCommit message (Expand)AuthorLines
2019-06-23Run rustfmtJulien Cretin-206/+260
2019-06-18syntax: Factor out common fields from `SyntaxExtension` variantsVadim Petrochenkov-5/+7
2019-06-16Rollup merge of #61866 - sinkuu:redundant_clone, r=petrochenkovMazdak Farrokhzad-2/+3
2019-06-15Rollup merge of #61813 - matthewjasper:remove-unnecessary-symbol-ops, r=petro...Mazdak Farrokhzad-11/+11
2019-06-15Use `slice::from_ref` instead of cloningShotaro Yamada-2/+3
2019-06-14Avoid some unnecessary symbol interner operationsMatthew Jasper-11/+11
2019-06-10syntax: Rename variants of `SyntaxExtension` for consistencyVadim Petrochenkov-3/+2
2019-06-10syntax: Remove `SyntaxExtension::DeclMacro`Vadim Petrochenkov-54/+55
2019-06-09Rollup merge of #61669 - petrochenkov:tokderef2, r=oli-obkMazdak Farrokhzad-17/+17
2019-06-09Rollup merge of #61646 - L117:master, r=CentrilMazdak Farrokhzad-15/+15
2019-06-08syntax: Remove `Deref` impl from `Token`Vadim Petrochenkov-2/+2
2019-06-08syntax: Keep full `Token`s for `macro_rules` separatorsVadim Petrochenkov-15/+15
2019-06-08Remove useless allocations in macro_rules follow logic.L117-15/+15
2019-06-07parser: `self.span` -> `self.token.span`Vadim Petrochenkov-2/+2
2019-06-06Address review commentsVadim Petrochenkov-12/+9
2019-06-06syntax: Switch function parameter order in `TokenTree::token`Vadim Petrochenkov-5/+5
2019-06-06syntax: Remove duplicate span from `token::Ident`Vadim Petrochenkov-7/+5
2019-06-06syntax: Use `Token` in `Parser`Vadim Petrochenkov-8/+8
2019-06-06syntax: Use `Token` in `TokenTree::Token`Vadim Petrochenkov-16/+16
2019-06-06syntax: Rename `Token` into `TokenKind`Vadim Petrochenkov-1/+1
2019-05-27Avoid unnecessary internings.Nicholas Nethercote-1/+1
2019-05-24Tweak macro parse errors when reaching EOF during macro call parseEsteban Küber-1/+1
2019-05-22Restore the old behavior of the rustdoc keyword check + Fix rebaseVadim Petrochenkov-6/+6
2019-05-22Simplify use of keyword symbolsVadim Petrochenkov-1/+1
2019-05-20Remove `Symbol::gensym()`.Nicholas Nethercote-2/+2
2019-05-13Remove the equality operation between `Symbol` and strings.Nicholas Nethercote-9/+14
2019-05-13Pass a `Symbol` to `check_name`, `emit_feature_err`, and related functions.Nicholas Nethercote-6/+6
2019-05-07lots of comments + minor cleanupMark Mansi-1/+1
2019-04-10make duplicate matcher bindings a hard errorMark Mansi-12/+4
2019-03-16syntax: Do not accidentally treat multi-segment meta-items as single-segmentVadim Petrochenkov-3/+8
2019-02-13Rollup merge of #58273 - taiki-e:rename-dependency, r=matthewjasperMazdak Farrokhzad-2/+2
2019-02-12Auto merge of #58341 - alexreg:cosmetic-2-doc-comments, r=steveklabnikbors-4/+4
2019-02-13Cleanup importsTaiki Endo-1/+1
2019-02-13Rename rustc_errors dependency in rust 2018 cratesTaiki Endo-2/+2
2019-02-11Use `Rc<[Symbol]>` instead of `Vec<Symbol>` to reduce # of allocsOliver Scherer-3/+3
2019-02-11Ease the transition to requiring features by just warning if there's no featu...Oliver Scherer-8/+14
2019-02-11Require a list of features to allow in `allow_internal_unstable`Oliver Scherer-1/+12
2019-02-10rustc: doc commentsAlexander Regueiro-4/+4
2019-02-07Make it an incompatibility lint for nowMark Mansi-9/+22
2019-02-07error on duplicate matcher bindingsmark-5/+49
2019-02-07libsyntax => 2018Taiki Endo-28/+30
2019-01-26remove `_with_applicability` from suggestion fnsAndy Russell-1/+1
2019-01-15fix nested matchers with ?mark-4/+10
2019-01-09Change `String` to `&'static str` in `ParseResult::Failure`.Nicholas Nethercote-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-6/+6
2018-11-27Auto merge of #55402 - estebank:macro-eof-2, r=nikomatsakisbors-8/+36
2018-11-23Reword EOF in macro arm messageEsteban Küber-1/+4
2018-11-23Keep label on moved spans and point at macro invocation on parse errorEsteban Küber-8/+12
2018-11-23Point at macro arm when it doesn't expand to an expressionEsteban Küber-3/+7