about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-10-21Correct propagation of mutability from components to base in borrowckNiko Matsakis-9/+61
Fixes #3828.
2012-10-21rustc: add new intrinsics - atomic_cxchg{_acq,_rel}Luqman Aden-6/+47
2012-10-21Fix ICE stemming from use of unique pointers in unreachable blocks.Josh Matthews-1/+1
2012-10-20Remove old fixed-length vector syntaxBen Striegel-6/+6
2012-10-19Remove superfluous by-ref in option::get, option::get_default, option::expectTim Chevalier-5/+5
Superficial change, no review.
2012-10-18rustc: Implement intra-crate static methods on anonymous trait ↵Patrick Walton-32/+220
implementations. r=nmatsakis
2012-10-18libcore: minor code cleanup.Erick Tryzelaar-18/+11
This is minor and probably completely inconsequential to performance, but I find vec::map to be more clear than vec::each and a push.
2012-10-18libcore: call [u8] values bytes, not bufsErick Tryzelaar-2/+2
2012-10-18rustc: optimize away some mallocs when building GEP argsErick Tryzelaar-2/+1
2012-10-17Merge pull request #3739 from killerswan/usagemsgTim Chevalier-65/+75
Add a module to getopts for verbose option group declaration (and use it in rustc)
2012-10-17Add a module to getopts to support verbose option definitionKevin Cantu-65/+75
This is built on top of the existing functionality, but adds a `groups` module which defines functions allowing the user to specify whole short/long/description groups at once and provides a usage message.
2012-10-17Merge pull request #3716 from Blei/fix-3656Tim Chevalier-3/+4
rustc: fix size computation of structs for the FFI
2012-10-16Remove integer suffixesTim Chevalier-2/+2
2012-10-16Change a use of map::get to map::findTim Chevalier-2/+2
2012-10-16rustc: Implement intra-crate static methods on anonymous trait implementations.Patrick Walton-109/+297
2012-10-15In ty::normalize_ty, don't replace self_regions with NoneTim Chevalier-4/+10
Instead, replace with re_static. This was causing ty::subst to fail when called from trans::type_of::type_of. Already discussed with nmatsakis and it's a small change, so no review. Closes #3447
2012-10-15Error out in resolve if structs try to capture type parametersTim Chevalier-2/+2
Closes #3214
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-636/+564
2012-10-15rustc: Implement monomorphic default methods. r=nmatsakisPatrick Walton-300/+615
2012-10-15Check whether loans conflict with old loans or with themselves.Niko Matsakis-94/+140
Along the way, convert from dvec-of-dvec representation to track loans in scope to just a single flattened list. It's more convenient. Fixes #3765. r+ pcwalton.
2012-10-15Fix whitespaceTim Chevalier-2/+2
2012-10-15Allow enum discriminator exprs to refer to declared constsTim Chevalier-115/+196
Also some work towards #3521 Closes #2428
2012-10-12Avoid repeating 'try adding a move' hintTim Chevalier-3/+5
2012-10-12Remove unneeded parensTim Chevalier-1/+1
2012-10-12Make trans ignore last useTim Chevalier-17/+9
2012-10-12Change the kind checker to ignore results of last-useTim Chevalier-37/+49
and require explicit moves. Also provide more info in some error messages. Also: check that non-copyable struct fields don't get copied. Closes #3481
2012-10-12(For legacy code:) In liveness, require that by-move arguments are rvaluesTim Chevalier-1/+9
2012-10-12Make moves explicit in rustc::middleTim Chevalier-4/+4
2012-10-12remove ctor from ast (take 2) (no review: just dead code removal)Niko Matsakis-518/+110
2012-10-12Use the Nth impl when translating a static method call, insteadNiko Matsakis-39/+90
of the 0th. 0th is only correct when there are no bound tps on the trait. Fixes #3741.
2012-10-12bump version to 0.5.Graydon Hoare-8/+8
2012-10-12Replace several common macros of the form #m[...] with m!(...)Kevin Cantu-21/+21
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
2012-10-11Remove obsolete commentTim Chevalier-2/+0
2012-10-11Remove obsolete FIXMETim Chevalier-2/+0
2012-10-11Use truncate in typeck::infer; gets rid of FIXMETim Chevalier-5/+2
2012-10-11Remove obsolete commentTim Chevalier-5/+0
2012-10-11Update FIXME numbersTim Chevalier-7/+6
2012-10-11Remove obsolete FIXMETim Chevalier-3/+0
2012-10-11Update FIXME numbersTim Chevalier-2/+2
2012-10-11Remove obsolete FIXMETim Chevalier-6/+1
2012-10-11Remove obsolete FIXMETim Chevalier-1/+0
2012-10-11Update FIXME numberTim Chevalier-1/+1
2012-10-11Remove unneeded no_rt flagTim Chevalier-17/+11
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-2/+2
Two separate changes that got intertwined (sorry): Make to_str pure. Closes #3691 In str, change functions like push_char to take an &mut str instead of an &str. Closes #3710
2012-10-10Move the description of -(W|A|D|F) into the `-W help` messageKevin Cantu-10/+10
2012-10-10Touchup the debug flag description printingKevin Cantu-1/+1
2012-10-10rustc: fix size computation of structs for the FFIPhilipp Brüschweiler-3/+4
It didn't take alignment into account. Fixes #3656.
2012-10-09Remove old serialization2 vestigial codeErick Tryzelaar-2/+2
2012-10-08Revert "Revert "Remove old auto_serialize2 code (needs snapshot)""Tim Chevalier-22/+0
This reverts commit a33535e441dc5461fec0489069a1491367ad1c91.
2012-10-08Revert "Remove old auto_serialize2 code (needs snapshot)"Tim Chevalier-0/+22
This reverts commit 0bd6da8a8c93143325cb45e8a074ccf7121ca168.