rust/src
bors 6edea2cfda Auto merge of #34216 - jseyfried:nested_cfg_attr, r=nrc
Support nested `cfg_attr` attributes

Support arbitrarily deeply nested `cfg_attr` attributes (e.g. `#[cfg_attr(foo, cfg_attr(bar, baz))]`).
This makes configuration idempotent.

Currently, the nighties do not support any `cfg_attr` nesting. Stable and beta support just one level of `cfg_attr` nesting (expect for attributes on macro-expanded nodes, where no nesting is supported).

This is a [breaking-change]. For example, the following would break:
```rust
macro_rules! m { () => {
    #[cfg_attr(all(), cfg_attr(all(), cfg(foo)))]
    fn f() {}
} }
m!();

fn main() { f() } //~ ERROR unresolved name `f`
```
r? @nrc
2016-06-16 03:49:55 -07:00
..
bootstrap Auto merge of #33991 - alexcrichton:rustbuild-more-clean, r=aturon 2016-06-04 01:23:02 -07:00
build_helper whoops 2016-04-04 21:14:15 +10:00
compiler-rt@57315f7e07 update compiler-rt submodule 2016-03-15 22:32:38 -05:00
doc reference: link to proper ffi attributes 2016-06-14 10:50:48 +08:00
driver
etc Use Docker for Travis 2016-06-03 11:44:30 +09:00
grammar antlr grammar verification script now compiles under latest nightly 2016-05-25 00:15:26 -04:00
jemalloc@aab1c0a0e0
liballoc Update rc.rs 2016-06-05 20:26:24 +02:00
liballoc_jemalloc run rustfmt on liballoc_jemalloc folder 2016-06-05 11:39:17 +05:30
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 Map::Entry::take() method to recover key and value together 2016-06-15 05:45:50 -07:00
libcollectionstest clean up for test cases 2016-06-09 08:20:08 +05:30
libcore Auto merge of #34180 - durka:patch-24, r=brson 2016-06-15 04:48:29 -07:00
libcoretest Auto merge of #33460 - shepmaster:16-bit-pointers, r=Aatch 2016-06-03 22:32:15 -07: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 sprinkle feature gates here and there 2016-03-22 22:02:47 -05:00
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 #34268 - zackmdavis:if_let_over_none_unit_arm, r=jseyfried 2016-06-16 01:39:44 +01: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 Auto merge of #34290 - arielb1:short-ladder, r=eddyb 2016-06-16 01:01:26 -07:00
librustc_const_eval Rollup merge of #34207 - petrochenkov:nohyg, r=jseyfried 2016-06-16 01:39:43 +01: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 Strip #[test] nodes during cfg processing on non-test builds. 2016-06-11 03:13:44 +00:00
librustc_incremental expand DepNode::TraitSelect to include type ids 2016-05-31 19:59:57 -04:00
librustc_lint Remove last traces of identifier hygiene from HIR 2016-06-11 00:12:39 +03:00
librustc_llvm Remove linking with AR 2016-06-10 18:26:42 -04:00
librustc_metadata prefer if let to match with None => () arm in some places 2016-06-15 08:13:10 -07:00
librustc_mir Auto merge of #34174 - shepmaster:16-bit-mir, r=Aatch 2016-06-10 19:50:42 -07:00
librustc_passes Address review comments + fix rebase 2016-06-10 01:06:37 +03:00
librustc_platform_intrinsics rustc_platform_intrinsics: remove unused rustc dependency. 2016-03-29 19:36:01 +03:00
librustc_plugin remove the librustc_trans -> librustc_mir dependency 2016-06-08 23:58:53 +03:00
librustc_privacy Introduce TyCtxt::expect_def/expect_resolution helpers and use them where possible 2016-06-10 01:03:54 +03:00
librustc_resolve Address review comments + fix rebase 2016-06-10 01:06:37 +03:00
librustc_save_analysis Introduce TyCtxt::expect_def/expect_resolution helpers and use them where possible 2016-06-10 01:03:54 +03:00
librustc_trans Rollup merge of #34268 - zackmdavis:if_let_over_none_unit_arm, r=jseyfried 2016-06-16 01:39:44 +01:00
librustc_typeck Auto merge of #34000 - estebank:missingargs, r=jseyfried 2016-06-15 22:12:26 -07:00
librustc_unicode docs: Improve char::to_{lower,upper}case examples 2016-06-08 19:24:03 +01:00
librustdoc Auto merge of #34245 - ollie27:rustdoc_redirect_rename, r=alexcrichton 2016-06-14 17:11:05 -07:00
libserialize Utilize Result::unwrap_err in more places. 2016-05-09 08:40:57 -04:00
libstd Rollup merge of #34270 - gkoz:error_file_exists, r=alexcrichton 2016-06-16 01:39:44 +01:00
libsyntax Auto merge of #34216 - jseyfried:nested_cfg_attr, r=nrc 2016-06-16 03:49:55 -07:00
libsyntax_ext simplify HR subtyping back to what we did before 2016-05-31 19:42:22 -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 Revert "workarounds to make link guards work on windows" 2016-03-25 14:07:20 -04:00
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 Auto merge of #34216 - jseyfried:nested_cfg_attr, r=nrc 2016-06-16 03:49:55 -07:00
tools Auto merge of #34220 - srinivasreddy:rf_cargotest, r=brson 2016-06-15 13:11:19 -07:00
stage0.txt mk: Prepare for a new stage0 compiler 2016-05-31 16:11:49 -07:00