rust/src/test
bors e357178146 Auto merge of #38814 - Ralith:cfg-fields, r=jseyfried
syntax: enable attributes and cfg on struct fields

This enables conditional compilation of field initializers in a struct literal, simplifying construction of structs whose fields are themselves conditionally present. For example, the intializer for the constant in the following becomes legal, and has the intuitive effect:

```rust
struct Foo {
    #[cfg(unix)]
    bar: (),
}

const FOO: Foo = Foo {
    #[cfg(unix)]
    bar: (),
};
```

It's not clear to me whether this calls for the full RFC process, but the implementation was simple enough that I figured I'd begin the conversation with code.
2017-01-12 20:44:02 +00:00
..
codegen Replace BlockAndBuilder with Builder. 2017-01-04 11:33:31 -07:00
codegen-units Fix fallout in tests. 2016-09-27 06:43:51 +00:00
compile-fail Auto merge of #38814 - Ralith:cfg-fields, r=jseyfried 2017-01-12 20:44:02 +00:00
compile-fail-fulldeps Auto merge of #38792 - jseyfried:improve_macros_11_diagnostics, r=nikomatsakis 2017-01-06 19:23:06 +00:00
debuginfo Auto merge of #38473 - zackmdavis:issue_kebab, r=sanxiyn 2017-01-03 09:42:22 +00:00
incremental ICH: Add some more test cases for trait impls. 2017-01-05 10:53:29 -05:00
mir-opt Auto merge of #38332 - bluss:copy-prop-arguments, r=eddyb 2016-12-14 06:26:21 +00:00
parse-fail Fix parse-fail and compile-fail tests 2016-12-30 15:17:26 +01:00
pretty Pretty-print $crate::foo::bar as ::foo::bar. 2016-12-22 06:14:36 +00:00
run-fail Warn when a #[should_panic] test has an unexpected message 2016-11-18 21:01:19 +10:30
run-fail-fulldeps Fix fallout in rustdoc and tests. 2016-11-21 12:16:46 +00:00
run-make Auto merge of #38783 - alexcrichton:stabilize-proc-macro, r=nikomatsakis 2017-01-04 20:06:21 +00:00
run-pass Auto merge of #38989 - arielb1:constant-mir-overflow2, r=eddyb 2017-01-11 15:45:28 +00:00
run-pass-fulldeps rustc: Stabilize the proc_macro feature 2017-01-02 12:13:30 -08:00
run-pass-valgrind Fix some pretty printing tests 2016-10-18 23:23:40 +03:00
rustdoc Improved rustdoc rendering for unstable features 2017-01-09 21:50:00 -08:00
ui Auto merge of #38605 - estebank:fix-38371, r=nikomatsakis 2017-01-12 01:01:06 +00:00