| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2016-05-27 | Auto merge of #33900 - GuillaumeGomez:rollup, r=GuillaumeGomez | bors | -7/+10 | |
| Rollup of 10 pull requests - Successful merges: #33753, #33815, #33829, #33858, #33865, #33866, #33870, #33874, #33891, #33898 - Failed merges: | ||||
| 2016-05-27 | Rollup merge of #33870 - jseyfried:ice-issue-33569, r=pnkfelix | Guillaume Gomez | -7/+10 | |
| Fix ICE on parsing a bad metavariable in a macro definition Fixes #33569, fixes #33728. r? @pnkfelix | ||||
| 2016-05-27 | Rollup merge of #33839 - kamalmarhubi:codemape-get-filemap-option, r=nmatsakis | Manish Goregaokar | -3/+3 | |
| This is more idiomatic, putting the caller in charge of whether or not to panic. | ||||
| 2016-05-27 | Rollup merge of #33644 - petrochenkov:selfast, r=nrc | Manish Goregaokar | -221/+124 | |
| The AST part of https://github.com/rust-lang/rust/pull/33505. https://github.com/rust-lang/rust/pull/33505 isn't landed yet, so this PR is based on top of it. r? @nrc plugin-[breaking-change] cc #31645 @Manishearth | ||||
| 2016-05-27 | Rollup merge of #33639 - petrochenkov:dotdot, r=nmatsakis | Manish Goregaokar | -76/+97 | |
| cc https://github.com/rust-lang/rust/issues/33627 r? @nikomatsakis plugin-[breaking-change] cc https://github.com/rust-lang/rust/issues/31645 @Manishearth | ||||
| 2016-05-27 | Rollup merge of #33351 - birkenfeld:loop-label-spans, r=pnkfelix | Manish Goregaokar | -41/+51 | |
| This makes the \"shadowing labels\" warning *not* print the entire loop as a span, but only the lifetime. Also makes #31719 go away, but does not fix its root cause (the span of the expanded loop is still wonky, but not used anymore). | ||||
| 2016-05-26 | Auto merge of #33766 - jseyfried:cleanup_expansion, r=nrc | bors | -411/+186 | |
| Cleanup macro expansion and improve diagnostics Cleanup macro expansion and improve diagnostics. Fixes #33709. r? @nrc | ||||
| 2016-05-26 | Address review comments | Vadim Petrochenkov | -2/+6 | |
| 2016-05-26 | Implement `..` in tuple (struct) patterns | Vadim Petrochenkov | -76/+93 | |
| 2016-05-26 | Fix ICE on failure to parse token tree | Jeffrey Seyfried | -2/+5 | |
| 2016-05-25 | parser.rs: fix typos in comments | Carlo Teubner | -5/+5 | |
| 2016-05-25 | Add a new AST-only type variant `ImplicitSelf` | Vadim Petrochenkov | -26/+22 | |
| 2016-05-25 | Remove ExplicitSelf from AST | Vadim Petrochenkov | -217/+124 | |
| 2016-05-25 | Auto merge of #33713 - LeoTestard:macro-rules-invalid-lhs, r=pnkfelix | bors | -45/+59 | |
| Make sure that macros that didn't pass LHS checking are not expanded. This avoid duplicate errors for things like invalid fragment specifiers, or parsing errors for ambiguous macros. | ||||
| 2016-05-24 | syntax: Make codemap::get_filemap() return an Option | Kamal Marhubi | -3/+3 | |
| This is more idiomatic, putting the caller in charge of whether or not to panic. | ||||
| 2016-05-24 | syntax/hir: give loop labels a span | Georg Brandl | -41/+51 | |
| This makes the "shadowing labels" warning *not* print the entire loop as a span, but only the lifetime. Also makes #31719 go away, but does not fix its root cause (the span of the expanded loop is still wonky, but not used anymore). | ||||
| 2016-05-24 | Add comments and fix a nit | Jeffrey Seyfried | -1/+9 | |
| 2016-05-24 | Avoid iterating two times over the list of LHSes. | Leo Testard | -5/+4 | |
| 2016-05-24 | Make sure that macros that didn't pass LHS checking are not expanded. | Leo Testard | -41/+56 | |
| This avoids duplicate errors for things like invalid fragment specifiers, or parsing errors for ambiguous macros. Fixes #29231. | ||||
| 2016-05-21 | Move `placement_in_syntax` gated feature checking from expansion to the ↵ | Jeffrey Seyfried | -16/+3 | |
| post-expansion visitor | ||||
| 2016-05-21 | Refactor away `check_attributes` | Jeffrey Seyfried | -11/+7 | |
| 2016-05-21 | Refactor away `expand_item_mac` | Jeffrey Seyfried | -159/+85 | |
| 2016-05-21 | Refactor out `mac_result` in `expand_mac_invoc` | Jeffrey Seyfried | -54/+53 | |
| 2016-05-21 | Check attributes in `expand_mac_invoc` | Jeffrey Seyfried | -22/+12 | |
| 2016-05-21 | Use `expand_mac_invoc` in `expand_pat` | Jeffrey Seyfried | -75/+3 | |
| 2016-05-21 | Re-fold expanded items in `expand_mac_invoc` | Jeffrey Seyfried | -63/+13 | |
| 2016-05-21 | Improve diagnostics | Jeffrey Seyfried | -5/+3 | |
| 2016-05-21 | Introduce `MacroGenerable` trait | Jeffrey Seyfried | -53/+46 | |
| 2016-05-19 | Rollup merge of #33730 - jseyfried:fix_macro_backtrace_diagnostics, ↵ | Manish Goregaokar | -1/+1 | |
| r=nikomatsakis Fix macro expansion backtrace diagnostics Fixes #33704. r? @nikomatsakis | ||||
| 2016-05-19 | Rollup merge of #33712 - jseyfried:fix_expanded_expr_span_bug, r=nrc | Manish Goregaokar | -7/+1 | |
| Fix bug in macro expression spans Fix a bug in macro expression spans. r? @nrc | ||||
| 2016-05-18 | Auto merge of #33688 - jonathandturner:fix_old_school, r=nikomatsakis | bors | -10/+54 | |
| Fix for old school error issues, improvements to new school This PR: * Fixes some old school error issues, specifically #33559, #33543, #33366 * Improves wording borrowck errors with match patterns * De-emphasize multi-line spans, so we don't color the single source character when we're trying to say "span starts here" * Rollup of #33392 (which should help fix #33390) r? @nikomatsakis | ||||
| 2016-05-19 | Fix macro expansion backtrace diagnostics | Jeffrey Seyfried | -1/+1 | |
| 2016-05-18 | Fix bug in macro expression spans | Jeffrey Seyfried | -7/+1 | |
| 2016-05-18 | Auto merge of #33654 - petrochenkov:hirident, r=nrc | bors | -0/+4 | |
| Remove hir::Ident Now when name resolution is done on AST, `hir::Ident` is no longer necessary. See https://github.com/rust-lang/rust/pull/30145 for more details. r? @nrc | ||||
| 2016-05-17 | fix -Z treat-err-as-bug | Niko Matsakis | -30/+30 | |
| 2016-05-17 | Fix for #33559 | Jonathan Turner | -1/+2 | |
| 2016-05-17 | Improve a few errors and fix #33366 | Jonathan Turner | -2/+2 | |
| 2016-05-17 | De-emph minimized spans, add better debugging output | Jonathan Turner | -10/+27 | |
| 2016-05-17 | Print secondary labels as notes in old skool mode | Jonathan Turner | -0/+26 | |
| 2016-05-16 | Remove hir::Ident | Vadim Petrochenkov | -0/+4 | |
| 2016-05-15 | Auto merge of #33505 - petrochenkov:self, r=nrc | bors | -198/+182 | |
| Remove ExplicitSelf from HIR `self` argument is already kept in the argument list and can be retrieved from there if necessary, so there's no need for the duplication. The same changes can be applied to AST, I'll make them in the next breaking batch. The first commit also improves parsing of method declarations and fixes https://github.com/rust-lang/rust/issues/33413. r? @eddyb | ||||
| 2016-05-15 | Auto merge of #33619 - jonathandturner:improve_structured_errors, r=nikomatsakis | bors | -4/+5 | |
| Batch of improvements to errors for new error format This is a batch of improvements to existing errors to help get the most out of the new error format. * Added labels to primary spans (^^^) for a set of errors that didn't currently have them * Highlight the source blue under the secondary notes for better readability * Move some of the "Note:" into secondary spans+labels * Fix span_label to take &mut instead, which makes it work the same as other methods in that set | ||||
| 2016-05-14 | Auto merge of #33568 - nrc:save-json-2, r=pnkfelix | bors | -4/+1 | |
| save-analysis: JSON mk2 cc @aochagavia r? @pnkfelix | ||||
| 2016-05-14 | syntax: Refactor parsing of method declarations | Vadim Petrochenkov | -198/+182 | |
| Fix spans and expected token lists, fix #33413 + other cosmetic improvements Add test for #33413 Convert between `Arg` and `ExplicitSelf` precisely Simplify pretty-printing for methods | ||||
| 2016-05-13 | Auto merge of #33513 - sanxiyn:tab-in-error, r=nikomatsakis | bors | -2/+32 | |
| Better handling of tab in error cc #33240. | ||||
| 2016-05-12 | Update errors to use new error format | Jonathan Turner | -4/+4 | |
| 2016-05-12 | Set of fixes to improve borrowcks that weren't updated | Jonathan Turner | -0/+1 | |
| 2016-05-12 | Better handling of tab in error | Seo Sanghyeon | -2/+32 | |
| 2016-05-11 | save-analysis: give better text info in value fields | Nick Cameron | -4/+1 | |
| 2016-05-09 | Auto merge of #33443 - jseyfried:resolve_ast, r=nrc | bors | -0/+38 | |
| Perform name resolution before and during ast->hir lowering This PR performs name resolution before and during ast->hir lowering instead of in phase 3. r? @nrc | ||||
