Guillaume Gomez
f8d3658147
Add E0608
2017-06-12 19:00:20 +02:00
Ulrik Sverdrup
75239142a8
Implement .. syntax for RangeFull as expression
...
Allows the expression `..` (without either endpoint) in general, can be
used in slicing syntax `&expr[..]` where we previously wrote `&expr[]`.
The old syntax &expr[] is not yet removed or warned for.
2015-02-04 23:23:12 +01: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
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
cf9c586fcc
reviewer changes
2014-09-19 14:30:54 +12: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