about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Expand)AuthorLines
2016-05-27Rollup merge of #33351 - birkenfeld:loop-label-spans, r=pnkfelixManish Goregaokar-41/+51
2016-05-27Refactor `expand_expr`Jeffrey Seyfried-35/+22
2016-05-27Strip unconfigured items during macro expansionJeffrey Seyfried-8/+45
2016-05-27Update spans' `expn_id` during the marking foldJeffrey Seyfried-81/+20
2016-05-27Process `cfg_attr` attributes on non-optional expressionsJeffrey Seyfried-38/+37
2016-05-26Move cfg_attr processing and stmt/expr attribute gated feature checking into ...Jeffrey Seyfried-248/+86
2016-05-26Implement `CfgFolder` directly instead of passing a closure to `strip_items`Jeffrey Seyfried-34/+29
2016-05-26Refactor `CfgFolder::in_cfg` -> `CfgFolder::configure`Jeffrey Seyfried-45/+29
2016-05-26Introduce `CfgFolder` traitJeffrey Seyfried-19/+32
2016-05-26Refactor the `syntax::config::fold_*` functions into methodsJeffrey Seyfried-147/+81
2016-05-26Add and use `HasAttrs` traitJeffrey Seyfried-77/+89
2016-05-26Reject a LHS formed of a single sequence TT during `macro_rules!` checking.Leo Testard-9/+4
2016-05-26Auto merge of #33766 - jseyfried:cleanup_expansion, r=nrcbors-411/+186
2016-05-26Address review commentsVadim Petrochenkov-2/+6
2016-05-26Implement `..` in tuple (struct) patternsVadim Petrochenkov-76/+93
2016-05-26Fix ICE on failure to parse token treeJeffrey Seyfried-2/+5
2016-05-25parser.rs: fix typos in commentsCarlo Teubner-5/+5
2016-05-25Add a new AST-only type variant `ImplicitSelf`Vadim Petrochenkov-26/+22
2016-05-25Remove ExplicitSelf from ASTVadim Petrochenkov-217/+124
2016-05-25Auto merge of #33713 - LeoTestard:macro-rules-invalid-lhs, r=pnkfelixbors-45/+59
2016-05-24Apply visit_path to import prefixes by defaultVadim Petrochenkov-11/+4
2016-05-24Back to single line between errors. Add header space to secondary filesJonathan Turner-1/+26
2016-05-24syntax: Make codemap::get_filemap() return an OptionKamal Marhubi-3/+3
2016-05-24syntax/hir: give loop labels a spanGeorg Brandl-41/+51
2016-05-24Add comments and fix a nitJeffrey Seyfried-1/+9
2016-05-24Avoid iterating two times over the list of LHSes.Leo Testard-5/+4
2016-05-24Make sure that macros that didn't pass LHS checking are not expanded.Leo Testard-41/+56
2016-05-24Remove unused field and argumentSeo Sanghyeon-6/+2
2016-05-23Update error format for readability. Add spacing header<->snippet and another...Jonathan Turner-1/+8
2016-05-24Do not inject test harness for --cfg testSeo Sanghyeon-5/+1
2016-05-21Move `placement_in_syntax` gated feature checking from expansion to the post-...Jeffrey Seyfried-16/+3
2016-05-21Refactor away `check_attributes`Jeffrey Seyfried-11/+7
2016-05-21Refactor away `expand_item_mac`Jeffrey Seyfried-159/+85
2016-05-21Refactor out `mac_result` in `expand_mac_invoc`Jeffrey Seyfried-54/+53
2016-05-21Check attributes in `expand_mac_invoc`Jeffrey Seyfried-22/+12
2016-05-21Use `expand_mac_invoc` in `expand_pat`Jeffrey Seyfried-75/+3
2016-05-21Re-fold expanded items in `expand_mac_invoc`Jeffrey Seyfried-63/+13
2016-05-21Improve diagnosticsJeffrey Seyfried-5/+3
2016-05-21Introduce `MacroGenerable` traitJeffrey Seyfried-53/+46
2016-05-19Rollup merge of #33730 - jseyfried:fix_macro_backtrace_diagnostics, r=nikomat...Manish Goregaokar-1/+1
2016-05-19Rollup merge of #33712 - jseyfried:fix_expanded_expr_span_bug, r=nrcManish Goregaokar-7/+1
2016-05-18Auto merge of #33688 - jonathandturner:fix_old_school, r=nikomatsakisbors-10/+54
2016-05-19Fix macro expansion backtrace diagnosticsJeffrey Seyfried-1/+1
2016-05-18Fix bug in macro expression spansJeffrey Seyfried-7/+1
2016-05-18Auto merge of #33654 - petrochenkov:hirident, r=nrcbors-0/+4
2016-05-17fix -Z treat-err-as-bugNiko Matsakis-30/+30
2016-05-17Fix for #33559Jonathan Turner-1/+2
2016-05-17Improve a few errors and fix #33366Jonathan Turner-2/+2
2016-05-17De-emph minimized spans, add better debugging outputJonathan Turner-10/+27
2016-05-17Print secondary labels as notes in old skool modeJonathan Turner-0/+26