summary refs log tree commit diff
path: root/src/test/compile-fail/slice-borrow.rs
AgeCommit message (Collapse)AuthorLines
2015-01-08Update compile fail tests to use isize.Huon Wilson-1/+1
2015-01-07remove some `slicing_syntax` feature gatesJorge Aparicio-2/+0
2015-01-07TestsNick Cameron-1/+1
2015-01-07Replace full slice notation with index callsNick Cameron-1/+1
2014-10-07Put slicing syntax behind a feature gate.Nick Cameron-0/+2
[breaking-change] If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
2014-10-02Revert "Put slicing syntax behind a feature gate."Aaron Turon-2/+0
This reverts commit 95cfc35607ccf5f02f02de56a35a9ef50fa23a82.
2014-10-02Put slicing syntax behind a feature gate.Nick Cameron-0/+2
[breaking-change] If you are using slicing syntax you will need to add #![feature(slicing_syntax)] to your crate.
2014-09-19Implement slicing syntax.Nick Cameron-0/+19
`expr[]`, `expr[expr..]`, `expr[..expr]`,`expr[expr..expr]` Uses the Slice and SliceMut traits. Allows ... as well as .. in range patterns.