rust/src
Jeffrey Seyfried 9bb3ea0feb Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb
To allow these braced macro invocation, this PR removes the optional expression from `ast::Block` and instead uses a `StmtKind::Expr` at the end of the statement list.

Currently, braced macro invocations in blocks can expand into statements (and items) except when they are last in a block, in which case they can only expand into expressions.

For example,
```rust
macro_rules! make_stmt {
    () => { let x = 0; }
}

fn f() {
    make_stmt! {} //< This is OK...
    let x = 0; //< ... unless this line is commented out.
}
```

Fixes #34418.
2016-06-26 02:20:14 +00:00
..
bootstrap Fix typo in bootstrap README 2016-06-22 15:09:11 +02:00
build_helper Fix issue where rustbuild expected msvc to have ar 2016-06-16 08:38:06 -04:00
compiler-rt@a1ef94b760 Convert makefiles to build LLVM/compiler-rt with CMake 2016-06-21 19:54:28 -07:00
doc Rollup merge of #34403 - jonathandturner:move_liberror, r=alexcrichton 2016-06-25 22:35:09 +00:00
driver
etc Auto merge of #34055 - brson:cmake, r=alexcrichton 2016-06-23 23:33:32 -07:00
grammar Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
jemalloc@aab1c0a0e0
liballoc Update rc.rs 2016-06-05 20:26:24 +02:00
liballoc_jemalloc Fix issue where rustbuild expected msvc to have ar 2016-06-16 08:38:06 -04:00
liballoc_system std: Use memalign, not posix_memalign, on Android 2016-05-24 15:21:01 -07:00
libarena
libbacktrace std: Update libbacktrace for a soundness fix 2016-05-19 11:56:43 -07:00
libcollections Auto merge of #34425 - tbu-:pr_len_instead_of_size_hint, r=alexcrichton 2016-06-24 09:03:54 -07:00
libcollectionstest implemented peek_mut and unit tests 2016-06-21 12:10:38 -07:00
libcore Auto merge of #34425 - tbu-:pr_len_instead_of_size_hint, r=alexcrichton 2016-06-24 09:03:54 -07:00
libcoretest specialize zip: Add benchmarks 2016-06-14 15:51:49 +02:00
libflate run rustfmt on libflate folder 2016-06-07 21:29:35 +05:30
libfmt_macros
libgetopts std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
libgraphviz
liblibc@45d85899e9 Update libc to bring in pthread mutex type definitions 2016-06-02 13:31:00 +01:00
liblog rustfmt on liblog 2016-05-27 08:06:17 +05:30
libpanic_abort mk: Prepare for a new stage0 compiler 2016-05-31 16:11:49 -07:00
libpanic_unwind run rustfmt on libpanic_unwind folder 2016-06-05 23:34:23 +05:30
librand run rustfmt on librand folder 2016-05-29 08:40:34 +05:30
librbml std: Stabilize APIs for the 1.9 release 2016-04-11 08:57:53 -07:00
librustc Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
librustc_back Auto merge of #33699 - alexcrichton:stabilize-1.10, r=aturon 2016-05-25 20:36:09 -07:00
librustc_bitflags run rustfmt on librustc_bitflags folder 2016-06-05 13:01:11 +05:30
librustc_borrowck Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
librustc_const_eval Rollup merge of #34339 - jseyfried:thin_vec, r=petrochenkov,Manishearth 2016-06-26 02:18:43 +00:00
librustc_const_math Allow truncating constants to 16-bit u/isize 2016-06-10 13:07:04 -04:00
librustc_data_structures Auto merge of #34221 - srinivasreddy:rm_redundant, r=alexcrichton 2016-06-14 13:42:28 -07:00
librustc_driver Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
librustc_errors make old school mode a bit more configurable 2016-06-23 15:19:40 -04:00
librustc_incremental Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
librustc_lint Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb 2016-06-26 02:17:27 +00:00
librustc_llvm Remove linking with AR 2016-06-10 18:26:42 -04:00
librustc_metadata Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc 2016-06-26 02:15:04 +00:00
librustc_mir Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
librustc_passes Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb 2016-06-26 02:17:27 +00:00
librustc_platform_intrinsics rustc_platform_intrinsics: remove unused rustc dependency. 2016-03-29 19:36:01 +03:00
librustc_plugin Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
librustc_privacy Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
librustc_resolve Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb 2016-06-26 02:17:27 +00:00
librustc_save_analysis Rollup merge of #34316 - jseyfried:refactor_ast_stmt, r=eddyb 2016-06-26 02:17:27 +00:00
librustc_trans Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
librustc_typeck Rollup merge of #34403 - jonathandturner:move_liberror, r=alexcrichton 2016-06-25 22:35:09 +00:00
librustc_unicode docs: Improve char::to_{lower,upper}case examples 2016-06-08 19:24:03 +01:00
librustdoc Rollup merge of #34403 - jonathandturner:move_liberror, r=alexcrichton 2016-06-25 22:35:09 +00:00
libserialize Utilize Result::unwrap_err in more places. 2016-05-09 08:40:57 -04:00
libstd Rollup merge of #34438 - frewsxcv:joinhandle, r=GuillaumeGomez 2016-06-25 18:16:40 +05:30
libsyntax Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
libsyntax_ext Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
libsyntax_pos Address comments and fix travis warning 2016-06-23 08:07:35 -04:00
libterm Utilize Result::unwrap_err in more places. 2016-05-09 08:40:57 -04:00
libtest run rustfmt on libtest folder 2016-06-05 12:19:37 +05:30
libunwind run rustfmt on libunwind 2016-05-29 08:47:51 +05:30
llvm@80ad955b60 Update LLVM 2016-06-05 09:45:47 +03:00
rt hoedown: fix trigger of -Werror=misleading-indentation 2016-05-31 21:38:29 +03:00
rtstartup run rustfmt on rtstartup folder 2016-05-29 21:04:21 +05:30
rust-installer@c37d3747da
rustc fix issues 2016-06-09 21:47:58 +03:00
rustllvm Remove unneeded indirection of GET_ARCHIVE 2016-06-09 15:59:27 -04:00
test Rollup merge of #34436 - jseyfried:no_block_expr, r=eddyb 2016-06-26 02:20:14 +00:00
tools Move errors from libsyntax to its own crate 2016-06-23 08:07:35 -04:00
stage0.txt mk: Prepare for a new stage0 compiler 2016-05-31 16:11:49 -07:00