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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user