| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -3/+3 | |
| 2018-03-16 | Auto merge of #48524 - abonander:check-macro-stability, r=petrochenkov | bors | -1/+12 | |
| check stability of macro invocations I haven't implemented tests yet but this should be a pretty solid prototype. I think as-implemented it will also stability-check macro invocations in the same crate, dunno if we want that or not. I don't know if we want this to go through `rustc::middle::stability` or not, considering the information there wouldn't be available at the time of macro expansion (even for external crates, right?). r? @nrc closes #34079 cc @petrochenkov @durka @jseyfried #38356 | ||||
| 2018-03-07 | check stability of macro invocations | Austin Bonander | -1/+12 | |
| 2018-03-05 | Turn features() into a query. | Michael Woerister | -9/+8 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -3/+4 | |
| 2018-01-30 | Add feature gate + tests | Mark Mansi | -2/+4 | |
| 2018-01-26 | Do not capture stderr in the compiler. Instead just panic silently for fatal ↵ | John Kåre Alsaker | -2/+2 | |
| errors | ||||
| 2017-12-28 | Cleanup | Matt Peterson | -4/+4 | |
| 2017-12-28 | Add feature gate macro_lifetime_matcher | Matt Peterson | -1/+13 | |
| 2017-12-28 | Resurrecting #33135 | Michael Hewson | -7/+8 | |
| Started rebasing @sgrif's PR #33135 off of current master. (Well, actually merging it into a new branch based off current master.) The following files still need to be fixed or at least reviewed: - `src/libsyntax/ext/tt/macro_parser.rs`: calls `Parser::parse_lifetime`, which doesn't exist anymore - `src/libsyntax/parse/parser.rs`: @sgrif added an error message to `Parser::parse_lifetime`. Code has since been refactored, so I just took it out for now. - `src/libsyntax/ext/tt/transcribe.rs`: This code has been refactored bigtime. Not sure whether @sgrif's changes here are still necessary. Took it out for this commit. | ||||
| 2017-09-17 | Rollup merge of #44088 - bjorn3:better_trace_macros, r=jseyfried | Tim Neumann | -1/+3 | |
| Fix "new trace_macros doesn't work if there's an error during expansion" Fixes #43493 | ||||
| 2017-09-02 | Dont abort on first macro error | bjorn3 | -1/+3 | |
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -2/+2 | |
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -3/+3 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-08-12 | syntax: #[allow_internal_unsafe] bypasses the unsafe_code lint in macros. | Eduard-Mihai Burtescu | -3/+9 | |
| 2017-08-01 | Fixed all unnecessary muts in language core | Isaac van Bakel | -1/+1 | |
| 2017-07-21 | Review comments | Esteban Küber | -4/+5 | |
| 2017-07-20 | Use the macro structure spans instead of the invocation | Esteban Küber | -1/+14 | |
| 2017-07-11 | let #[allow_internal_unstable] cover :vis | Alex Burka | -8/+19 | |
| 2017-07-06 | Disallow `$($v:vis)*`. Fix #42755. | kennytm | -0/+1 | |
| 2017-06-26 | Simplify `hygiene::Mark` application, and | Jeffrey Seyfried | -5/+6 | |
| remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`. | ||||
| 2017-06-08 | Speed up expansion. | Mark Simulacrum | -2/+2 | |
| 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 | -2/+2 | |
| 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 | -24/+22 | |
| Rollup of 5 pull requests - Successful merges: #41937, #41957, #42017, #42039, #42046 - Failed merges: | ||||
| 2017-05-15 | adressed comments by @kennytm and @petrochenkov | Andre Bogus | -1/+2 | |
| 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 | -24/+21 | |
| 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/+14 | |
| 2017-03-30 | Improve `Path` spans. | Jeffrey Seyfried | -1/+1 | |
| 2017-03-27 | Fix various useless derefs and slicings | Oliver Schneider | -1/+1 | |
| 2017-03-14 | Liberalize attributes. | Jeffrey Seyfried | -1/+2 | |
| 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 | -12/+9 | |
| 2017-02-28 | Add warning cycle. | Jeffrey Seyfried | -1/+2 | |
| 2017-02-28 | Remove `Token::MatchNt`. | Jeffrey Seyfried | -54/+62 | |
| 2017-02-28 | Add `syntax::ext::tt::quoted::{TokenTree, ..}` and remove ↵ | Jeffrey Seyfried | -34/+42 | |
| `tokenstream::TokenTree::Sequence`. | ||||
