summary refs log tree commit diff
path: root/src/test/run-pass/slice.rs
AgeCommit message (Collapse)AuthorLines
2015-06-13Use `assert_eq!` instead of `assert!` in testspetrochenkov-1/+1
2015-04-08Remove pretty-expanded from failing testsAlex Crichton-1/+0
This commit removes pretty-expanded from all tests that wind up calling panic! one way or another now that its internals are unstable.
2015-03-26Mass rename uint/int to usize/isizeAlex Crichton-1/+1
Now that support has been removed, all lingering use cases are renamed.
2015-03-23rollup merge of #23598: brson/gateAlex Crichton-1/+3
Conflicts: src/compiletest/compiletest.rs src/libcollections/lib.rs src/librustc_back/lib.rs src/libserialize/lib.rs src/libstd/lib.rs src/libtest/lib.rs src/test/run-make/rustdoc-default-impl/foo.rs src/test/run-pass/env-home-dir.rs
2015-03-23rustdoc: Replace no-pretty-expanded with pretty-expandedBrian Anderson-0/+2
Now that features must be declared expanded source often does not compile. This adds 'pretty-expanded' to a bunch of test cases that still work.
2015-03-23Require feature attributes, and add them where necessaryBrian Anderson-1/+1
2015-03-23Fallout in stdlib, rustdoc, rustc, etc. For most maps, converted uses ofNiko Matsakis-8/+8
`[]` on maps to `get` in rustc, since stage0 and stage1+ disagree about how to use `[]`.
2015-02-06make `IndexMut` a super trait over `Index`Jorge Aparicio-4/+0
closes #21630
2015-02-05Implement pretty-printing of `..` and update tests.Ulrik Sverdrup-2/+2
Update tests to change all `&expr[]` to `&expr[..]` to make sure pretty printing passes.
2015-01-30Rename FullRange to RangeFullNick Cameron-5/+5
2015-01-07remove some `slicing_syntax` feature gatesJorge Aparicio-1/+0
2015-01-07use slicing sugarJorge Aparicio-1/+1
2015-01-07falloutNick Cameron-11/+33
2015-01-07TestsNick Cameron-9/+10
2015-01-07Replace full slice notation with index callsNick Cameron-4/+4
2014-10-07Rename slicing methodsNick Cameron-6/+6
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 "Remove the `_` suffix from slice methods."Aaron Turon-8/+8
This reverts commit df2f1fa7680a86ba228f004e7de731e91a1df1fe.
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-10-02Remove the `_` suffix from slice methods.Nick Cameron-8/+8
Deprecates slicing methods from ImmutableSlice/MutableSlice in favour of slicing syntax or the methods in Slice/SliceMut. Closes #17273.
2014-09-19reviewer changesNick Cameron-1/+1
2014-09-19Implement slicing syntax.Nick Cameron-0/+70
`expr[]`, `expr[expr..]`, `expr[..expr]`,`expr[expr..expr]` Uses the Slice and SliceMut traits. Allows ... as well as .. in range patterns.