diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2014-09-26 17:48:16 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2014-10-07 15:49:53 +1300 |
| commit | 2d3823441fe5324f747f7bf51ffc07b9434f827f (patch) | |
| tree | cf8f7d36282f850bee8aaa73521499fe6f436f85 /src/libcoretest | |
| parent | 59976942eacd26c0cc37247c3ac0c78b97edc6ea (diff) | |
| download | rust-2d3823441fe5324f747f7bf51ffc07b9434f827f.tar.gz rust-2d3823441fe5324f747f7bf51ffc07b9434f827f.zip | |
Put slicing syntax behind a feature gate.
[breaking-change] If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
Diffstat (limited to 'src/libcoretest')
| -rw-r--r-- | src/libcoretest/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcoretest/lib.rs b/src/libcoretest/lib.rs index 7866d2f4a11..5f31ed35f1b 100644 --- a/src/libcoretest/lib.rs +++ b/src/libcoretest/lib.rs @@ -7,7 +7,7 @@ // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your // option. This file may not be copied, modified, or distributed // except according to those terms. -#![feature(globs, unsafe_destructor, macro_rules)] +#![feature(globs, unsafe_destructor, macro_rules, slicing_syntax)] extern crate core; extern crate test; |
