| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-03-07 | check stability of macro invocations | Austin Bonander | -0/+4 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -6/+7 | |
| 2018-02-07 | libsyntax/ext: trailing commas in builtin macros | Michael Lamparski | -2/+4 | |
| Most notably this changes 'syntax::ext::base::get_single_str_from_tts' to accept a trailing comma, and revises the documentation so that this aspect is not surprising. I made this change under the understanding that this crate is private rustc implementation detail (I hope this is correct!). After reviewing all call sites, I believe the revised semantics are closer to the intended spirit of the function. | ||||
| 2018-01-26 | Do not capture stderr in the compiler. Instead just panic silently for fatal ↵ | John Kåre Alsaker | -1/+1 | |
| errors | ||||
| 2018-01-15 | Point at unused arguments for format string | Esteban Küber | -19/+19 | |
| Avoid overlapping spans by only pointing at the arguments that are not being used in the argument string. Enable libsyntax to have diagnostics with multiple primary spans by accepting `Into<MultiSpan>` instead of `Span`. | ||||
| 2018-01-01 | Fix docs for future pulldown migration | Malo Jaffré | -1/+2 | |
| 2017-12-26 | Do not expand a derive invocation when derive is not allowed | Seiichi Uchida | -0/+12 | |
| 1. Change the return type of `expand_invoc()` and its subroutines to `Option<Expansion>` from `Expansion`. 2. Return `None` when expanding a derive invocation if the item cannot have derive on it (in `expand_derive_invoc()`). | ||||
| 2017-12-19 | Implement non-mod.rs mod statements | Taylor Cramer | -1/+1 | |
| 2017-12-17 | syntax: Rename `P::unwrap` into `P::into_inner` | Vadim Petrochenkov | -2/+2 | |
| 2017-12-09 | Use hygiene to access the injected crate (`core` or `std`) from builtin macros. | Jeffrey Seyfried | -9/+6 | |
| 2017-11-21 | allow loading external files in documentation | QuietMisdreavus | -0/+2 | |
| Partial implementation of https://github.com/rust-lang/rfcs/pull/1990 (needs error reporting work) cc #44732 | ||||
| 2017-09-21 | suggest an outer attribute when `#![derive(...)]` (predictably) fails | Zack M. Davis | -0/+4 | |
| 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 | Better trace-macro and less span_err_fatal | 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 | -5/+11 | |
| 2017-08-07 | Reexport all SyntaxExtension variants | Oliver Schneider | -1/+1 | |
| 2017-07-27 | Avoid duplicated errors for generic arguments in macro paths | Vadim Petrochenkov | -1/+1 | |
| 2017-06-26 | Add `LazyTokenStream`. | Jeffrey Seyfried | -1/+1 | |
| 2017-06-26 | Implement `quote!` and other `proc_macro` API. | Jeffrey Seyfried | -1/+4 | |
| 2017-06-26 | Simplify `hygiene::Mark` application, and | Jeffrey Seyfried | -14/+0 | |
| remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`. | ||||
| 2017-05-31 | Extend the unused macro lint to macros 2.0 | est31 | -1/+3 | |
| 2017-05-25 | Hygienize `librustc_resolve`. | Jeffrey Seyfried | -0/+11 | |
| 2017-05-19 | Rollup merge of #42006 - jseyfried:fix_include_regression, r=nrc | Mark Simulacrum | -2/+2 | |
| Fix ICE on `include!(line!())` (regression) Fixes #41776. r? @nrc | ||||
| 2017-05-17 | Auto merge of #42049 - Mark-Simulacrum:rollup, r=Mark-Simulacrum | bors | -6/+6 | |
| 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 | -2/+2 | |
| 2017-05-15 | Fix regression on `include!(line!())`. | Jeffrey Seyfried | -2/+2 | |
| 2017-05-13 | Support #[allow] etc logic on a per macro level | est31 | -1/+1 | |
| 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-13 | Add lint for unused macros | est31 | -0/+6 | |
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -5/+5 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-05-06 | Group "macro expansion" notes per call span | Esteban Küber | -2/+11 | |
| 2017-05-05 | Use diagnostics for trace_macro instead of println | Esteban Küber | -0/+3 | |
| 2017-03-30 | Improve `Path` spans. | Jeffrey Seyfried | -1/+20 | |
| 2017-03-29 | Merge `ExpnId` and `SyntaxContext`. | Jeffrey Seyfried | -45/+29 | |
| 2017-03-10 | Move `resolve_invoc` from `syntax` to `resolve`. | Jeffrey Seyfried | -3/+9 | |
| 2017-03-10 | Refactor out `ast::ItemKind::MacroDef`. | Jeffrey Seyfried | -4/+2 | |
| 2017-03-03 | Integrate `TokenStream`. | Jeffrey Seyfried | -14/+6 | |
| 2017-03-02 | Auto merge of #39655 - durka:recursion-limit-suggestion, r=nikomatsakis | bors | -4/+10 | |
| suggest doubling recursion limit in more situations Fixes #38852. r? @bluss | ||||
| 2017-03-02 | note -> help | Alex Burka | -1/+1 | |
| 2017-02-23 | Move MacroKind into Def::Macro | Josh Driver | -1/+1 | |
| 2017-02-16 | Refactor macro resolution errors + add derive macro suggestions | Josh Driver | -10/+34 | |
| 2017-02-12 | Allow using inert attributes from `proc_macro_derive`s with ↵ | Jeffrey Seyfried | -9/+6 | |
| `#![feature(proc_macro)]`. | ||||
| 2017-02-09 | suggest doubling recursion limit in more situations | Alex Burka | -4/+10 | |
| 2017-02-05 | Move derive macro expansion into the MacroExpander | Josh Driver | -0/+10 | |
| This removes the expand_derives function, and sprinkles the functionality throughout the Invocation Collector, Expander and Resolver. | ||||
| 2017-02-05 | Rename CustomDerive to ProcMacroDerive for macros 1.1 | Josh Driver | -1/+5 | |
| 2017-02-05 | Make builtin derives a SyntaxExtension | Josh Driver | -1/+7 | |
| This allows builtin derives to be registered and resolved, just like other derive types. | ||||
| 2017-01-17 | Refactor the parser to consume token trees. | Jeffrey Seyfried | -3/+1 | |
| 2016-12-23 | Allow legacy custom derive authors to disable warnings in downstream crates. | Jeffrey Seyfried | -0/+2 | |
| 2016-12-18 | Avoid including attributes in bang macro invocations. | Jeffrey Seyfried | -4/+2 | |
