diff options
| author | Nick Cameron <ncameron@mozilla.com> | 2014-09-26 17:48:16 +1200 |
|---|---|---|
| committer | Nick Cameron <ncameron@mozilla.com> | 2014-10-02 13:23:36 +1300 |
| commit | 95cfc35607ccf5f02f02de56a35a9ef50fa23a82 (patch) | |
| tree | 85cb0f79ec42469ac7203cdcc09ffee5247cded7 /src/compiletest | |
| parent | df2f1fa7680a86ba228f004e7de731e91a1df1fe (diff) | |
| download | rust-95cfc35607ccf5f02f02de56a35a9ef50fa23a82.tar.gz rust-95cfc35607ccf5f02f02de56a35a9ef50fa23a82.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/compiletest')
| -rw-r--r-- | src/compiletest/compiletest.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiletest/compiletest.rs b/src/compiletest/compiletest.rs index 0a486ef0305..1e5e3ebdb34 100644 --- a/src/compiletest/compiletest.rs +++ b/src/compiletest/compiletest.rs @@ -9,7 +9,7 @@ // except according to those terms. #![crate_type = "bin"] -#![feature(phase)] +#![feature(phase, slicing_syntax)] #![deny(warnings)] |
