rust/src/test
bors 0be4e0ec50 Auto merge of #24155 - chris-chambers:stmt_macros, r=sfackler
Statement macros are now treated somewhat like item macros, in that a statement macro can now expand into a series of statements, rather than just a single statement.

This allows statement macros to be nested inside other kinds of macros and expand properly, where previously the expansion would only work when no nesting was present.

See:
- `src/test/run-pass/macro-stmt_macro_in_expr_macro.rs`
- `src/test/run-pass/macro-nested_stmt_macro.rs`

This changes the interface of the MacResult trait.  make_stmt has become make_stmts and now returns a vector, rather than a single item.  Plugin writers who were implementing MacResult will have breakage, as well as anyone using MacEager::stmt.

See:
- `src/libsyntax/ext/base.rs`

This also causes a minor difference in behavior to the diagnostics produced by certain malformed macros.

See:
- `src/test/compile-fail/macro-incomplete-parse.rs`
2015-04-11 08:07:34 +00:00
..
auxiliary Auto merge of #24177 - alexcrichton:rustdoc, r=aturon 2015-04-10 16:18:44 +00:00
bench Make sum and product inherent methods on Iterator 2015-04-08 00:26:35 +02:00
codegen
compile-fail Auto merge of #24155 - chris-chambers:stmt_macros, r=sfackler 2015-04-11 08:07:34 +00:00
compile-fail-fulldeps Fallout to tests expecting unconditional help output from missing features. 2015-04-02 19:30:45 +02:00
debuginfo Remove ignore-tidy-linelength from tests that no longer need it 2015-04-09 08:21:59 +10:00
parse-fail fixing some tests and temporarily disabling others to get Bitrig build working 100% 2015-04-04 12:33:44 -07:00
pretty Fallout in tests 2015-04-01 11:22:39 -04:00
run-fail
run-make Test fixes and review feedback 2015-04-10 00:58:10 -07:00
run-pass Auto merge of #24155 - chris-chambers:stmt_macros, r=sfackler 2015-04-11 08:07:34 +00:00
run-pass-fulldeps Rollup merge of #24212 - alexcrichton:destabilize-begin-unwind, r=huonw 2015-04-10 00:24:43 +05:30
run-pass-valgrind
rustdoc Test fixes and review feedback 2015-04-10 00:58:10 -07:00