summary refs log tree commit diff
path: root/src/libstd/sort.rs
AgeCommit message (Collapse)AuthorLines
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-34/+34
2013-03-28Removing unused importsAlex Crichton-1/+1
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-7/+7
2013-03-26libcore: Change `[const T]` to `const [T]` everywherePatrick Walton-11/+18
2013-03-26Remove unused imports throughoutAlex Crichton-4/+0
2013-03-22librustc: Add explicit lifetime binders and new lifetime notation in ↵Patrick Walton-6/+6
core/std/syntax/rustc
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-3/+3
2013-03-22libstd: Remove all uses of `pure` from libstd. rs=depurePatrick Walton-21/+21
2013-03-21librustc: Forbid destructors from being attached to any structs that might ↵Patrick Walton-0/+1
contain non-Owned fields. r=nmatsakis
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-9/+24
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-8/+8
notation. rs=delifetiming
2013-03-13librustc: Don't accept `as Trait` anymore; fix all occurrences of it.Patrick Walton-0/+2
2013-03-11Remove uses of logBrian Anderson-4/+4
2013-03-08std: Remove uses of DVecAlex Crichton-54/+46
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-34/+34
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-6/+5
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-1/+1
2013-02-27libsyntax: Forbid mutable vectors. rs=demutingPatrick Walton-4/+2
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-16/+16
2013-02-15auto merge of #4969 : nickdesaulniers/rust/issue3869, r=brsonbors-13/+15
Issue #3869 review? @nikomatsakis Convert all uses of vec::slice to vec::view Issue #3869 Rename const_view to const_slice Renamed mut_view to mut_slice Fix windows build error. `buf` is borrowed by the call to `as_mut_buf()` and so we must invoke `slice()` outside of that call.
2013-02-15libstd: Get rid of `move`.Luqman Aden-9/+9
2013-02-14Convert all uses of vec::slice to vec::view Issue #3869Nick Desaulniers-13/+15
Rename const_view to const_slice Renamed mut_view to mut_slice
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-5/+5
rs=implflipping
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-7/+7
2013-02-13RIMOV core::vecBen Striegel-2/+2
Also remove as many uses as possible of vec::cast_to_mut and cast_from_mut
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-8/+6
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-02-04Merge remote-tracking branch 'bstrie/rimov' into incomingBrian Anderson-55/+55
Conflicts: src/libsyntax/parse/parser.rs src/test/bench/graph500-bfs.rs src/test/bench/sudoku.rs src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs src/test/run-pass/empty-mutable-vec.rs src/test/run-pass/foreach-nested.rs src/test/run-pass/swap-2.rs
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-7/+7
2013-01-30Repair RIMOV damage to libstd testsBen Striegel-9/+9
2013-01-30RIMOV, round 10Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/~\[mut /~\[/g" {} \;
2013-01-30RIMOV, round 5Ben Striegel-19/+19
find ./ -type f -name "*.rs" -exec sed -i "s/\&\[mut /\&mut \[/g" {} \;
2013-01-30RIMOV, round 4Ben Striegel-9/+9
find ./ -type f -name "*.rs" -exec sed -i "s/let mut \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2013-01-30RIMOV, round 3Ben Striegel-29/+29
find ./ -type f -name "*.rs" -exec sed -i "s/let \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2013-01-29libstd: De-export libstd. rs=deexportPatrick Walton-16/+9
2013-01-24librustc: Disallow `&mut` loans from overlapping with any other loansPatrick Walton-3/+9
2013-01-23core: Rename to_mut and from_mut to cast_to_mut and cast_from_mutTrinick-6/+6
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+21
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-21/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+21
module scope. r=tjc
2012-12-28libstd: Fix tests. rs=bustagePatrick Walton-0/+13
2012-12-27libstd: Fix a bunch of resolve errors in tests. rs=firePatrick Walton-0/+3
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-2/+4
contain at least two components. r=graydon
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-29librustc: Make the Drop trait use explicit selfPatrick Walton-1/+1
2012-11-28Register snapshotsBrian Anderson-56/+0
2012-11-20libstd: fix warnings in sortErick Tryzelaar-14/+14
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-4/+69
2012-11-18Made merge_sort pureJesse Jones-2/+2
2012-11-14Convert libstd to use the Drop traitBen Striegel-1/+4
2012-11-14Revert "Convert libstd to use the Drop trait"Brian Anderson-4/+1
This reverts commit 28c7a251514919a2d7bdf6c67b8edf5eed9043db.