diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2018-01-24 11:50:30 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2018-01-29 11:41:03 +0530 |
| commit | 540f95d9fad41a605e4c8b898d77f47374a76cbd (patch) | |
| tree | f8b26690a103e16aec8df59b458e702700899fc7 /src/libsyntax/lib.rs | |
| parent | a53bdc6212b9abf8538a877ebfde214120bf061f (diff) | |
| download | rust-540f95d9fad41a605e4c8b898d77f47374a76cbd.tar.gz rust-540f95d9fad41a605e4c8b898d77f47374a76cbd.zip | |
Add internal-only rustc_serialize_exclude_null attribute for making the field only exist in the json if the flag is passed
Diffstat (limited to 'src/libsyntax/lib.rs')
| -rw-r--r-- | src/libsyntax/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/lib.rs b/src/libsyntax/lib.rs index 3b4c5da10f2..9181cca215c 100644 --- a/src/libsyntax/lib.rs +++ b/src/libsyntax/lib.rs @@ -25,6 +25,7 @@ #![feature(match_default_bindings)] #![feature(i128_type)] #![feature(const_atomic_usize_new)] +#![feature(rustc_attrs)] // See librustc_cratesio_shim/Cargo.toml for a comment explaining this. #[allow(unused_extern_crates)] |
