| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-07-13 | Fix regression involving identifiers in `macro_rules!` patterns. | Jeffrey Seyfried | -1/+2 | |
| 2017-07-11 | let #[allow_internal_unstable] cover :vis | Alex Burka | -8/+19 | |
| 2017-07-07 | Only match a fragment specifier the if it starts with certain tokens. | kennytm | -4/+70 | |
| Fixes #24189. Fixes #26444. Fixes #27832. Fixes #34030. Fixes #35650. Fixes #39964. Fixes the 4th comment in #40569. Fixes the issue blocking #40984. | ||||
| 2017-07-06 | Disallow `$($v:vis)*`. Fix #42755. | kennytm | -0/+1 | |
| 2017-07-05 | Merge remote-tracking branch 'origin/master' into proc_macro_api | Alex Crichton | -2/+2 | |
| 2017-06-29 | Make `$crate` a keyword | Vadim Petrochenkov | -2/+2 | |
| 2017-06-26 | Add `LazyTokenStream`. | Jeffrey Seyfried | -1/+1 | |
| 2017-06-26 | Simplify `hygiene::Mark` application, and | Jeffrey Seyfried | -51/+57 | |
| remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`. | ||||
| 2017-06-08 | Speed up expansion. | Mark Simulacrum | -27/+34 | |
| This reduces duplication, thereby increasing expansion speed. | ||||
| 2017-05-31 | Extend the unused macro lint to macros 2.0 | est31 | -1/+1 | |
| 2017-05-27 | Auto merge of #42103 - jorendorff:master, r=estebank | bors | -3/+12 | |
| trace_macro: Show both the macro call and its expansion. #42072. See #42072 for the initial motivation behind this. The change is not the minimal fix, but I want this behavior almost every time I use `trace_macros`. | ||||
| 2017-05-25 | Hygienize `librustc_resolve`. | Jeffrey Seyfried | -3/+6 | |
| 2017-05-25 | Declarative macros 2.0 without hygiene. | Jeffrey Seyfried | -7/+8 | |
| 2017-05-25 | Refactor out `ast::MacroDef`. | Jeffrey Seyfried | -1/+1 | |
| 2017-05-19 | trace_macro: Show both the macro call and its expansion. #42072. | Jason Orendorff | -3/+12 | |
| 2017-05-18 | Add an option to the parser to avoid parsing out of line modules | Nick Cameron | -4/+8 | |
| This is useful if parsing from stdin or a String and don't want to try and read in a module from another file. Instead we just leave a stub in the AST. | ||||
| 2017-05-17 | Auto merge of #42049 - Mark-Simulacrum:rollup, r=Mark-Simulacrum | bors | -59/+69 | |
| Rollup of 5 pull requests - Successful merges: #41937, #41957, #42017, #42039, #42046 - Failed merges: | ||||
| 2017-05-16 | Rollup merge of #41957 - llogiq:clippy-libsyntax, r=petrochenkov | Mark Simulacrum | -59/+69 | |
| Fix some clippy warnings in libsyntax This is mostly removing stray ampersands, needless returns and lifetimes. Basically a lot of small changes. | ||||
| 2017-05-16 | Auto merge of #41907 - est31:macro_unused, r=jseyfried | bors | -1/+3 | |
| Add lint for unused macros Addresses parts of #34938, to add a lint for unused macros. We now output warnings by default when we encounter a macro that we didn't use for expansion. Issues to be resolved before this PR is ready for merge: - [x] fix the NodeId issue described above - [x] remove all unused macros from rustc and the libraries or set `#[allow(unused_macros)]` next to them if they should be kept for some reason. This is needed for successful boostrap and bors to accept the PR. -> #41934 - [x] ~~implement the full extent of #34938, that means the macro match arm checking as well.~~ *let's not do this for now* | ||||
| 2017-05-16 | Rollup merge of #42005 - jseyfried:fix_macro_regression, r=nrc | Mark Simulacrum | -5/+6 | |
| Fix regression in `macro_rules!` name matching Fixes #41803. r? @nrc | ||||
| 2017-05-15 | adressed comments by @kennytm and @petrochenkov | Andre Bogus | -24/+29 | |
| 2017-05-15 | Fix regression in `macro_rules!` name matching. | Jeffrey Seyfried | -5/+6 | |
| 2017-05-15 | Address review comments | est31 | -4/+2 | |
| 2017-05-13 | Support #[allow] etc logic on a per macro level | est31 | -1/+5 | |
| This commit extends the current unused macro linter to support directives like #[allow(unused_macros)] or #[deny(unused_macros)] directly next to the macro definition, or in one of the modules the macro is inside. Before, we only supported such directives at a per crate level, due to the crate's NodeId being passed to session.add_lint. We also had to implement handling of the macro's NodeId in the lint visitor. | ||||
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -57/+62 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-05-06 | Group "macro expansion" notes per call span | Esteban Küber | -6/+6 | |
| 2017-05-05 | Use diagnostics for trace_macro instead of println | Esteban Küber | -1/+3 | |
| 2017-04-15 | feature gate :vis matcher | Alex Burka | -22/+45 | |
| 2017-04-15 | widen :vis follow set | Alex Burka | -4/+4 | |
| 2017-04-15 | parse interpolated visibility tokens | Alex Burka | -1/+2 | |
| 2017-04-15 | update :vis implementation to current rust | Alex Burka | -6/+6 | |
| 2017-04-15 | Implementation of the `vis` macro matcher. | Daniel Keep | -1/+15 | |
| 2017-03-30 | Improve `Path` spans. | Jeffrey Seyfried | -15/+11 | |
| 2017-03-29 | Refactor how spans are combined in the parser. | Jeffrey Seyfried | -5/+4 | |
| 2017-03-29 | Merge `ExpnId` and `SyntaxContext`. | Jeffrey Seyfried | -6/+8 | |
| 2017-03-27 | Fix various useless derefs and slicings | Oliver Schneider | -1/+1 | |
| 2017-03-21 | Refactor parsing of trait object types | Vadim Petrochenkov | -1/+1 | |
| 2017-03-14 | Liberalize attributes. | Jeffrey Seyfried | -1/+2 | |
| 2017-03-14 | Cleanup. | Jeffrey Seyfried | -1/+1 | |
| 2017-03-10 | Avoid using `Mark` and `Invocation` for macro defs. | Jeffrey Seyfried | -2/+2 | |
| 2017-03-10 | Refactor out `ast::ItemKind::MacroDef`. | Jeffrey Seyfried | -3/+7 | |
| 2017-03-03 | Integrate `TokenStream`. | Jeffrey Seyfried | -54/+45 | |
| 2017-02-28 | Add warning cycle. | Jeffrey Seyfried | -11/+27 | |
| 2017-02-28 | Merge `repeat_idx` and `repeat_len`. | Jeffrey Seyfried | -17/+15 | |
| 2017-02-28 | Remove `Token::MatchNt`. | Jeffrey Seyfried | -68/+78 | |
| 2017-02-28 | Add `syntax::ext::tt::quoted::{TokenTree, ..}` and remove ↵ | Jeffrey Seyfried | -88/+313 | |
| `tokenstream::TokenTree::Sequence`. | ||||
| 2017-02-28 | Avoid `Token::{OpenDelim, CloseDelim}`. | Jeffrey Seyfried | -16/+22 | |
| 2017-02-28 | Remove `ext::tt::transcribe::tt_next_token`. | Jeffrey Seyfried | -149/+124 | |
| 2017-02-28 | Clean up `ext::tt::transcribe::TtFrame`, rename to `Frame`. | Jeffrey Seyfried | -57/+84 | |
| 2017-02-28 | Remove a `loop` in `ext::tt::transcribe`. | Jeffrey Seyfried | -32/+23 | |
