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.
This commit is contained in:
Nick Cameron
2014-09-26 17:48:16 +12:00
parent df2f1fa768
commit 95cfc35607
43 changed files with 105 additions and 43 deletions

View File

@@ -15,7 +15,8 @@
#![crate_type = "dylib"]
#![crate_type = "rlib"]
#![feature(globs, struct_variant, managed_boxes, macro_rules, phase)]
#![allow(unknown_features)]
#![feature(globs, struct_variant, managed_boxes, macro_rules, phase, slicing_syntax)]
extern crate arena;
extern crate debug;