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/test/debuginfo | |
| 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/test/debuginfo')
| -rw-r--r-- | src/test/debuginfo/vec-slices.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/debuginfo/vec-slices.rs b/src/test/debuginfo/vec-slices.rs index 392a025b1f0..67e621fe556 100644 --- a/src/test/debuginfo/vec-slices.rs +++ b/src/test/debuginfo/vec-slices.rs @@ -80,6 +80,7 @@ // lldb-check:[...]$5 = &[AStruct { x: 10, y: 11, z: 12 }, AStruct { x: 13, y: 14, z: 15 }] #![allow(unused_variable)] +#![feature(slicing_syntax)] struct AStruct { x: i16, |
