| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-02-11 | [breaking-change] don't glob export ast::Mutablity variants | Oliver 'ker' Schneider | -17/+23 | |
| 2016-02-11 | [breaking-change] don't glob export ast::MacStmtStyle | Oliver 'ker' Schneider | -7/+7 | |
| 2016-02-11 | [breaking-change] don't glob export ast::KleeneOp variants | Oliver 'ker' Schneider | -2/+2 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Item_ variants | Oliver 'ker' Schneider | -24/+21 | |
| 2016-02-11 | [breaking-change] don't glob export ast::ForeignItem_ variants | Oliver 'ker' Schneider | -3/+3 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Stmt_ variants | Oliver Schneider | -19/+16 | |
| 2016-02-11 | [breaking-change] don't pub export ast::IntLitType variants | Oliver Schneider | -1/+1 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Lit_ variants | Oliver Schneider | -14/+13 | |
| 2016-02-11 | [breaking-change] don't pub export ast::Ty_ variants | Oliver Schneider | -26/+24 | |
| 2016-02-11 | [breaking-change] don't glob export ast::{UintTy, IntTy} variants | Oliver Schneider | -3/+3 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Expr_ variants | Oliver Schneider | -74/+68 | |
| 2016-02-11 | [breaking-change] don't glob export ast::ExplicitSelf_ variants | Oliver Schneider | -18/+18 | |
| 2016-02-11 | [breaking-change] don't glob export ast::Decl_ variants | Oliver Schneider | -4/+4 | |
| 2016-02-11 | [breaking-change] don't glob export ast::CaptureClause variants | Oliver Schneider | -4/+4 | |
| 2016-02-11 | [breaking-change] don't glob import/export syntax::abi enum variants | Oliver Schneider | -12/+12 | |
| 2016-02-11 | [breaking-change] don't glob export ast::BlockCheckMode variants | Oliver Schneider | -7/+7 | |
| 2016-02-11 | [breaking-change] don't glob import ast::FunctionRetTy variants | Oliver Schneider | -7/+7 | |
| 2016-02-11 | [breaking-change] don't glob export ast::BinOp_ | Oliver Schneider | -18/+19 | |
| 2016-02-11 | [breaking-change] don't glob export ast::UnOp variants | Oliver Schneider | -7/+7 | |
| 2016-02-08 | Breaking tokens into pieces should behave similar to Parser::bump. | Tomasz Miąsko | -11/+19 | |
| Previously when breaking tokens into smaller pieces, the replace_token function have been used. It replaced current token and updated span information, but it did not clear the list of expected tokens, neither did it update remaining info about last token. This could lead to incorrect error message, like one described in the issue #24780: expected one of ... `>` ... found `>` | ||||
| 2016-02-01 | Replace some aborts with Results | Nick Cameron | -7/+3 | |
| Fixes #31207 by removing abort_if_new_errors | ||||
| 2016-01-27 | Auto merge of #31089 - fhahn:macro-ice, r=pnkfelix | bors | -30/+60 | |
| This is a work in progress PR that potentially should fix #29084, #28308, #25385, #28288, #31011. I think this may also adresse parts of #2887. The problem in this issues seems to be that when transcribing macro arguments, we just clone the argument Nonterminal, which still has to original spans. This leads to the unprintable spans. One solution would be to update the spans of the inserted argument to match the argument in the macro definition. So for [this testcase](https://github.com/rust-lang/rust/compare/master...fhahn:macro-ice?expand=1#diff-f7def7420c51621640707b6337726876R2) the error message would be displayed in the macro definition: src/test/compile-fail/issue-31011.rs:4:12: 4:22 error: attempted access of field `trace` on type `&T`, but no field with that name was found src/test/compile-fail/issue-31011.rs:4 if $ctx.trace { Currently I've added a very simple `update_span` function, which updates the span of the outer-most expression of a `NtExpr`, but this `update_span` function should be updated to handle all Nonterminals. But I'm pretty new to the macro system and would like to check if this approach makes sense, before doing that. | ||||
| 2016-01-27 | Avoid storing interolated token in Parser.last_token | Florian Hahn | -7/+11 | |
| 2016-01-27 | Turn interpolated_or_expr_span into a function | Florian Hahn | -28/+24 | |
| 2016-01-26 | Rollup merge of #31211 - Manishearth:pr-30765, r=nrc | Manish Goregaokar | -0/+6 | |
| r? @eddyb or @nrc | ||||
| 2016-01-26 | Push try! to call site of interpolated_or_expr_span! | Florian Hahn | -17/+18 | |
| 2016-01-26 | Add interpolated_or_expr_span macro and pass lo to newly added parse_dot_suffix | Florian Hahn | -30/+38 | |
| 2016-01-26 | Use interpolated token span when building spans for bigger expressions | Florian Hahn | -19/+29 | |
| 2016-01-26 | Set span for interpolated tokens correctly | Florian Hahn | -5/+16 | |
| 2016-01-26 | Improve error message for let-in-expr-position | Manish Goregaokar | -2/+3 | |
| 2016-01-25 | do not additionally note about unexpected identifier after unexpected let | Daan Sprenkels | -6/+5 | |
| error, by moving unexpected let check into the proper if-else clause | ||||
| 2016-01-25 | Update qquote.rs test case and make unexpected `let` error fatal | Daan Sprenkels | -6/+6 | |
| 2016-01-25 | libsyntax: move check for keyword Let to a more logical spot | Daan Sprenkels | -6/+6 | |
| 2016-01-25 | libsyntax: note that `let a = (let b = something)` is invalid | Daan Sprenkels | -0/+6 | |
| in parse_bottom_expr (parser.rs) | ||||
| 2016-01-22 | The war on abort_if_errors | Nick Cameron | -2/+5 | |
| 2016-01-22 | Some basic error correction in the parser after a dot | Nick Cameron | -42/+62 | |
| 2016-01-10 | Cancel parse_ty error in Parser::parse_generic_values_after_lt | Florian Hahn | -4/+6 | |
| 2016-01-07 | Auto merge of #30723 - nrc:macro-err-bug, r=Manishearth | bors | -2/+9 | |
| Fixes #30715 | ||||
| 2016-01-06 | Auto merge of #30654 - nrc:panictry, r=brson | bors | -287/+292 | |
| The motivation (other than removing boilerplate) is that this is a baby step towards a parser with error recovery. [breaking-change] if you use any of the changed functions, you'll need to remove a try! or panictry! | ||||
| 2016-01-06 | Cancel an error before it panics | Nick Cameron | -2/+9 | |
| Fixes #30715 | ||||
| 2015-12-31 | Auto merge of #30598 - est31:macro_export_help_note, r=Manishearth | bors | -5/+17 | |
| The current help message is too much about "normal" macros to be used as general message. Keep it for normal macros, and add custom help and error messages for macro definitions. | ||||
| 2015-12-31 | Cut out a bunch of Result and panictry! boilerplate from libsyntax. | Nick Cameron | -287/+292 | |
| [breaking-change] if you use any of the changed functions, you'll need to remove a try! or panictry! | ||||
| 2015-12-30 | Auto merge of #30375 - aaronkeen:issue_28777, r=eddyb | bors | -6/+15 | |
| RESTRICTION_STMT_EXPR restriction to allow subsequent expressions to contain braces. https://github.com/rust-lang/rust/issues/28777 | ||||
| 2015-12-30 | Limit line length to below 100 chars | est31 | -2/+4 | |
| 2015-12-30 | whitespace after colon, not before | est31 | -1/+1 | |
| 2015-12-30 | Custom help message for people trying to make macro public | est31 | -5/+15 | |
| The current help message is too much about "normal" macros to be used as general message. Keep it for normal macros, and add custom help and error messages for macro definitions. | ||||
| 2015-12-30 | Auto merge of #30526 - Ms2ger:PathParameters, r=brson | bors | -7/+8 | |
| 2015-12-30 | Rebasing and review comments | Nick Cameron | -1/+1 | |
| 2015-12-30 | use structured errors | Nick Cameron | -231/+237 | |
| 2015-12-22 | Stop re-exporting PathParameters's variants. | Ms2ger | -7/+8 | |
