Alex Crichton
4281bd1932
rollup merge of #20754 : nikomatsakis/int-feature
...
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-08 09:24:08 -08:00
Huon Wilson
0c70ce1424
Update compile fail tests to use isize.
2015-01-08 11:02:24 -05:00
Niko Matsakis
2387651f7d
Update the "English-language" to-string function of a cmt to use
...
more modern terminology and update tests accordingly.
2015-01-08 09:19:27 -05:00
Jorge Aparicio
ed4bebda96
remove some slicing_syntax feature gates
2015-01-07 18:37:04 -05:00
Nick Cameron
0c7f7a5fb8
fallout
2015-01-07 12:02:52 +13:00
Nick Cameron
77ed497456
Tests
2015-01-07 10:49:00 +13:00
Nick Cameron
f7ff37e4c5
Replace full slice notation with index calls
2015-01-07 10:46:33 +13:00
Nick Cameron
3bf405682d
Fallout from mut slices
2014-12-30 13:06:25 +13:00
Niko Matsakis
0b5bc3314f
Implement new operator dispatch semantics.
...
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-11-05 11:29:15 -05:00
Nick Cameron
2d3823441f
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.
2014-10-07 15:49:53 +13:00
Aaron Turon
7bf56df4c8
Revert "Put slicing syntax behind a feature gate."
...
This reverts commit 95cfc35607 .
2014-10-02 11:47:51 -07:00
Nick Cameron
95cfc35607
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.
2014-10-02 13:23:36 +13:00
Nick Cameron
31a7e38759
Implement slicing syntax.
...
`expr[]`, `expr[expr..]`, `expr[..expr]`,`expr[expr..expr]`
Uses the Slice and SliceMut traits.
Allows ... as well as .. in range patterns.
2014-09-19 11:15:49 +12:00