| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-11-26 | Add syntax support for attributes on expressions and all syntax | Marvin Löbel | -10/+37 | |
| nodes in statement position. Extended #[cfg] folder to allow removal of statements, and of expressions in optional positions like expression lists and trailing block expressions. Extended lint checker to recognize lint levels on expressions and locals. | ||||
| 2015-11-26 | Add '!' to macro name suggestion, use fileline_help instead of span_help | Florian Hartwig | -1/+1 | |
| 2015-11-26 | Add suggestion of similar macro names to `macro undefined` error message | Florian Hartwig | -0/+18 | |
| 2015-11-25 | Fix "Cannot fill in a NT" ICE | Jonas Schievink | -12/+23 | |
| 2015-11-25 | Auto merge of #30011 - jonas-schievink:macro-context, r=nrc | bors | -10/+10 | |
| Fixes #22425 Also fixes #30007, since it's just a change from `true` to `false`. | ||||
| 2015-11-24 | Remove "this" | Jonas Schievink | -1/+1 | |
| 2015-11-24 | Auto merge of #30000 - Manishearth:unreachable-call, r=nrc | bors | -4/+4 | |
| Fixes #1889 | ||||
| 2015-11-24 | Fix unreachable code in libsyntax | Manish Goregaokar | -4/+4 | |
| 2015-11-23 | Auto merge of #29952 - petrochenkov:depr, r=brson | bors | -1/+1 | |
| Part of https://github.com/rust-lang/rust/issues/29935 The deprecation lint is still called "deprecated", so people can continue using `#[allow(deprecated)]` and similar things. | ||||
| 2015-11-23 | Print the macro context name on incomplete parse | Jonas Schievink | -10/+10 | |
| Fixes #22425 Also fixes #30007, since it's just a change from `true` to `false`. | ||||
| 2015-11-22 | Look up macro names as well when suggesting replacements for function ↵ | Manish Goregaokar | -18/+28 | |
| resolve errors fixes #5780 | ||||
| 2015-11-20 | Rename #[deprecated] to #[rustc_deprecated] | Vadim Petrochenkov | -1/+1 | |
| 2015-11-17 | Auto merge of #29887 - sanxiyn:match-ref-pats, r=sfackler | bors | -22/+22 | |
| 2015-11-17 | Fix match_ref_pats flagged by Clippy | Seo Sanghyeon | -22/+22 | |
| 2015-11-16 | rename `ast::ImplItem_::*ImplItem` to `ast::ImplItemKind::*` | Oliver Schneider | -7/+7 | |
| 2015-11-16 | Auto merge of #29828 - sanxiyn:check-macro, r=nrc | bors | -49/+63 | |
| Fix #27409. | ||||
| 2015-11-14 | Check macro definition and do not expand invalid macros | Seo Sanghyeon | -3/+22 | |
| 2015-11-14 | Reindent code | Seo Sanghyeon | -22/+22 | |
| 2015-11-14 | Store TokenTree in MacroRulesMacroExpander | Seo Sanghyeon | -28/+23 | |
| 2015-11-13 | Move the panicking parse functions out of the parser | Kyle Mayes | -3/+52 | |
| Since these functions are only used by the AST quoting syntax extensions, they should be there instead of in the parser. | ||||
| 2015-11-13 | Auto merge of #29761 - eefriedman:rename-nopanic, r=sanxiyn | bors | -21/+21 | |
| Just `sed s/_nopanic//g`. Hopefully makes libsyntax a bit more readable. | ||||
| 2015-11-12 | Auto merge of #29780 - KyleMayes:quote-ext, r=nrc | bors | -0/+63 | |
| This is my first code contribution to Rust, so I'm sure there are some issues with the changes I've made. I've added the `quote_arg!`, `quote_block!`, `quote_path!`, and `quote_meta_item!` quasiquoting macros. From my experience trying to build AST in compiler plugins, I would like to be able to build any AST piece with a quasiquoting macro (e.g., `quote_struct_field!` or `quote_variant!`) and then use those AST pieces in other quasiquoting macros, but this pull request just adds some of the low-hanging fruit. I'm not sure if these additions are desirable, and I'm sure these macros can be implemented in an external crate if not. | ||||
| 2015-11-12 | libsyntax: deny warnings in doctests | Kevin Butler | -7/+9 | |
| 2015-11-11 | libsyntax: Add more quasiquoting macros | Kyle Mayes | -0/+63 | |
| 2015-11-11 | Auto merge of #29744 - sanxiyn:modernize, r=nrc | bors | -10/+10 | |
| 2015-11-10 | Rename _nopanic methods to remove the suffix. | Eli Friedman | -21/+21 | |
| Just `sed s/_nopanic//g`. Hopefully makes libsyntax a bit more readable. | ||||
| 2015-11-10 | Use lifetime elision | Seo Sanghyeon | -2/+2 | |
| 2015-11-10 | Use deref coercions | Seo Sanghyeon | -8/+8 | |
| 2015-11-09 | syntax: Use `let _` in #[derive(Debug)] | Alex Crichton | -4/+21 | |
| This should help avoid triggering the unused_results lint which can frequently be turned on. Closes #29710 | ||||
| 2015-11-06 | Auto merge of #29582 - oli-obk:token_tree, r=sfackler | bors | -121/+133 | |
| 2015-11-06 | remove `Tt` prefix from TokenType variants | Oliver Schneider | -121/+133 | |
| [breaking change] | ||||
| 2015-11-06 | Auto merge of #29615 - steveklabnik:lol_strings, r=alexcrichton | bors | -3/+1 | |
| &format!("...") is the same as "" if we're not doing any interpolation, and doesn't allocate an intermediate String. | ||||
| 2015-11-05 | Auto merge of #29565 - sfackler:issue-29540, r=huonw | bors | -24/+35 | |
| Closes #29540 r? @huonw | ||||
| 2015-11-05 | remove excess string allocation | Steve Klabnik | -3/+1 | |
| &format!("...") is the same as "" if we're not doing any interpolation, and doesn't allocate an intermediate String. | ||||
| 2015-11-03 | Don't chain method calls in #[derive(Debug)] | Steven Fackler | -24/+35 | |
| Closes #29540 | ||||
| 2015-11-03 | Allow indirect operands to be used as inputs for inline asm | Amanieu d'Antras | -2/+2 | |
| 2015-11-03 | Auto merge of #29285 - eefriedman:libsyntax-panic, r=nrc | bors | -31/+29 | |
| A set of commits which pushes some panics out of core parser methods, and into users of those parser methods. | ||||
| 2015-10-31 | Remove PatWildMulti | Vadim Petrochenkov | -2/+2 | |
| 2015-10-28 | Make quote plugin use parsing functions which explicitly panic. | Eli Friedman | -7/+7 | |
| Rename parse_* to parse_*_panic, and add parse_attribute_panic. | ||||
| 2015-10-27 | Don't panic for fatal errors in attribute parsing. | Eli Friedman | -2/+2 | |
| 2015-10-27 | Delete unnecessary ParserAttr trait. | Eli Friedman | -2/+0 | |
| 2015-10-27 | Don't use panicking helpers in Parser. | Eli Friedman | -20/+20 | |
| 2015-10-25 | syntax/rustc_front: Simplify VariantData::fields | Vadim Petrochenkov | -6/+6 | |
| And use VariantData instead of P<VariantData> in Item_ and Variant_ | ||||
| 2015-10-20 | Auto merge of #29148 - petrochenkov:noshow, r=alexcrichton | bors | -5/+3 | |
| Closes https://github.com/rust-lang/rust/issues/29145 [breaking-change], needs a crater run. | ||||
| 2015-10-19 | Generate stability attributes for derived impls | Vadim Petrochenkov | -1/+1 | |
| The attributes are copied from the item for which the trait impl is derived | ||||
| 2015-10-18 | Remove #[derive(Show)] | Vadim Petrochenkov | -5/+3 | |
| 2015-10-16 | Auto merge of #29014 - petrochenkov:stability, r=brson | bors | -1/+1 | |
| Stricter checking of stability attributes + enforcement of their invariants at compile time (+ removed dead file librustc_front/attr.rs) I intended to enforce use of `reason` for unstable items as well (it normally presents for new items), but it turned out too intrusive, many older unstable items don't have `reason`s. r? @aturon I'm studying how stability works and do some refactoring along the way, so it's probably not the last PR. | ||||
| 2015-10-15 | Auto merge of #28980 - nrc:unsafe-macros, r=@pnkfelix | bors | -100/+0 | |
| This is a [breaking change]. @brson could you do a Crater run with this PR please? Lets not land till Crater says its OK. This was discussed at https://internals.rust-lang.org/t/does-anyone-use-the-push-pop-unsafe-macros/2702 | ||||
| 2015-10-13 | Merge VariantData and VariantData_ | Vadim Petrochenkov | -5/+4 | |
| 2015-10-13 | Merge struct fields and struct kind | Vadim Petrochenkov | -10/+13 | |
