about summary refs log tree commit diff
path: root/src/test/compile-fail/slice-mut-2.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-18/+0
2015-01-08rollup merge of #20754: nikomatsakis/int-featureAlex Crichton-2/+2
Conflicts: src/test/compile-fail/borrowck-move-out-of-overloaded-auto-deref.rs src/test/compile-fail/issue-2590.rs src/test/compile-fail/lint-stability.rs src/test/compile-fail/slice-mut-2.rs src/test/compile-fail/std-uncopyable-atomics.rs
2015-01-08Update compile fail tests to use isize.Huon Wilson-2/+2
2015-01-08Update the "English-language" to-string function of a `cmt` to useNiko Matsakis-1/+1
more modern terminology and update tests accordingly.
2015-01-07remove some `slicing_syntax` feature gatesJorge Aparicio-2/+0
2015-01-07falloutNick Cameron-1/+1
2015-01-07TestsNick Cameron-1/+1
2015-01-07Replace full slice notation with index callsNick Cameron-1/+1
2014-12-30Fallout from mut slicesNick Cameron-1/+2
2014-11-05Implement new operator dispatch semantics.Niko Matsakis-1/+1
Key points are: 1. `a + b` maps directly to `Add<A,B>`, where `A` and `B` are the types of `a` and `b`. 2. Indexing and slicing autoderefs consistently.
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/+17
`expr[]`, `expr[expr..]`, `expr[..expr]`,`expr[expr..expr]` Uses the Slice and SliceMut traits. Allows ... as well as .. in range patterns.