1
Fork 0

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 59976942ea
commit 2d3823441f
41 changed files with 101 additions and 39 deletions

View file

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