about summary refs log tree commit diff
path: root/src/libcore/tuple.rs
AgeCommit message (Collapse)AuthorLines
2013-05-18Create tuple element accessor traitsBrendan Zabarauskas-0/+165
2013-05-08Remove #[cfg(notest)] and use #[cfg(not(test))] to cooincide with #[cfg(debug)]Zack Corr-7/+7
2013-05-04Register snapshotsBrian Anderson-28/+0
2013-04-25Rename vec::mod2 to vec::mod_zipCorey Richardson-2/+2
2013-04-10core: changes in response to #5656Niko Matsakis-0/+28
2013-04-10Reason about nested free variables that appear in a functionNiko Matsakis-1/+0
signature. In a nutshell, the idea is to (1) report an error if, for a region pointer `'a T`, the lifetime `'a` is longer than any lifetimes that appear in `T` (in other words, if a borrowed pointer outlives any portion of its contents) and then (2) use this to assume that in a function like `fn(self: &'a &'b T)`, the relationship `'a <= 'b` holds. This is needed for #5656. Fixes #5728.
2013-04-03Implement Clone for tuplesJames Miller-0/+17
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-5/+5
2013-03-26librustc: Modify all code to use new lifetime binder syntaxPatrick Walton-1/+1
2013-03-26core: As per #4898, finish impls for one-tuplesTim Chevalier-1/+39
2013-03-22libcore: Remove `pure` from libcore. rs=depurePatrick Walton-22/+22
2013-03-18librustc: Convert all uses of old lifetime notation to new lifetime ↵Patrick Walton-5/+5
notation. rs=delifetiming
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-5/+5
2013-03-06Add manual &self/ and &static/ and /&self declarations thatNiko Matsakis-1/+1
are currently inferred. New rules are coming that will require them to be explicit. All add some explicit self declarations.
2013-03-05auto merge of #5233 : bstrie/rust/deimpselfcore, r=graydonbors-9/+9
2013-03-04De-implicit-self libcoreBen Striegel-9/+9
2013-03-04Adding missing imports for tests, and gate off othersAlex Crichton-1/+2
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-7/+7
2013-02-18rustc: For one-tuples, make parsing and printing the type workTim Chevalier-0/+2
and add a test to reflect-visit-data
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-8/+8
rs=implflipping
2013-02-07Make ~fn non-copyable, make &fn copyable, split barefn/closure types,Niko Matsakis-4/+0
correct handling of moves for struct-record update. Part of #3678. Fixes #2828, #3904, #4719.
2013-01-14Inlining methods/functions in core.gifnksm-0/+21
Also inlining some functions which take functions as arguments.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2013-01-08Revert "librustc: Make unqualified identifier searches terminate at the ↵Patrick Walton-1/+0
nearest module scope. r=tjc" This reverts commit a8d37af2473da79be704c9ce2374f278c47177b6.
2013-01-08librustc: Make unqualified identifier searches terminate at the nearest ↵Patrick Walton-0/+1
module scope. r=tjc
2012-12-27librustc: Terminate name searches at the nearest module scope for paths that ↵Patrick Walton-0/+1
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-30core: Make core.rc more readable. CleanupBrian Anderson-0/+4
2012-11-28Register snapshotsBrian Anderson-93/+0
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+93
2012-10-07libcore Fix the tuple first_ref testErick Tryzelaar-1/+1
2012-10-07libcore: add first_ref and second_ref to tuplesErick Tryzelaar-2/+27
2012-09-28De-export bool, tuple, unit, uniq. Part of #3583.Graydon Hoare-2/+2
2012-09-28Fix patterns in tupleTim Chevalier-16/+7
2012-09-28demode vecNiko Matsakis-17/+26
2012-09-26Demode tupleTim Chevalier-3/+3
2012-09-23Register snapshots. Remove redundant Eq impls, Makefile hacksBrian Anderson-86/+0
2012-09-20rustc: De-mode all overloaded operatorsPatrick Walton-0/+86
2012-09-10Make more moves explicit in libcoreTim Chevalier-3/+3
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-3/+3
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+2
2012-09-02Silence non-implicitly-copyable-typarams in coretestBrian Anderson-0/+1
2012-09-02core: deny(vecs_implicity_copyable)Brian Anderson-2/+4
2012-08-30cargo: Fix some lack of knowledge of basic algebraic identitiesPatrick Walton-34/+6
2012-08-29rustc: Make `<=`, `>=`, and `>` use traits as wellPatrick Walton-0/+34
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-0/+72
2012-08-23Make vec::zip not require T:copy (close #3254)Ben Blum-1/+1
2012-08-14De-mode more pieces of core.Graydon Hoare-0/+4
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-5/+5
2012-08-08Convert impls to new syntaxBrian Anderson-5/+3