about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-10-29rustc: Implement typechecking for automatically-derived enumsPatrick Walton-2/+55
2012-10-29Merge pull request #3871 from pcwalton/masterPatrick Walton-32/+233
rustc: Translate monomorphic intra-crate automatically-derived method…
2012-10-27Remove unnecessary suffixesTim Chevalier-1/+1
2012-10-26Partial fix for #2687---impl method must only be subtype of trait method, ↵Niko Matsakis-14/+20
not exact match.
2012-10-26rustc: Translate monomorphic intra-crate automatically-derived methods that ↵Patrick Walton-32/+233
follow the "eq" format
2012-10-25Fix long lineTim Chevalier-1/+2
2012-10-25Merge remote-tracking branch '14427/incoming'Brian Anderson-2/+2
Conflicts: src/libstd/sort.rs
2012-10-25rustc: Translate and check exhaustiveness of struct-like enum variant ↵Patrick Walton-20/+105
patterns. r=nmatsakis
2012-10-25Merge pull request #3858 from pcwalton/struct-like-typeckPatrick Walton-77/+197
rustc: Typecheck, privacy check, and borrow check struct-like enum variants. r=tjc
2012-10-25Make error message for non-copyable args less misleadingTim Chevalier-1/+3
No review, just changing error message text. Closes #3855
2012-10-25rustc: Typecheck, privacy check, and borrow check struct-like enum variantsPatrick Walton-77/+197
2012-10-25rustc: Translate tuple struct constructorsPatrick Walton-43/+151
2012-10-24Long linesBrian Anderson-6/+6
2012-10-24adjust commentsNiko Matsakis-8/+37
2012-10-24Implement proper subtyping for region fn types (part of #2263)Niko Matsakis-389/+687
2012-10-24Merge pull request #3852 from veddan/type-limitsBrian Anderson-0/+123
Lint pass like GCC's -Wtype-limits (#3833)
2012-10-24rustc: Implement typechecking for tuple structs. r=nmatsakisPatrick Walton-6/+49
2012-10-24Cleaned up formatting and fixed bug in rev_binopViktor Dahl-105/+119
2012-10-24Implemented '-W type-limits' (#3833)Viktor Dahl-0/+109
2012-10-23rustc: Implement construction of monomorphic struct-like variants. r=nmatsakisPatrick Walton-73/+288
2012-10-23Remove <- operator from the compilerTim Chevalier-56/+18
Yield an obsolete syntax error on things like "let foo <- bar;" and "foo <- bar;" r=brson Progress on #3466
2012-10-23 Remove uses of binary move in the compilerTim Chevalier-2/+2
2012-10-23rustc: Implement typechecking for simple monomorphic derivable traits on ↵Patrick Walton-76/+339
monomorphic types. r=brson
2012-10-23rustc: Lower-case the error messages in kind.rs, for consistencyBrian Anderson-13/+13
2012-10-22Merge remote-tracking branch 'luqmana/incoming'Brian Anderson-6/+47
2012-10-22rustc: Factor out struct literal typechecking in preparation for struct-like ↵Patrick Walton-122/+132
enum variants
2012-10-22rustc: Implement generic cross-crate trait inheritancePatrick Walton-45/+157
2012-10-22Merge remote-tracking branch 'original/incoming' into incomingSimon BD-2316/+2872
2012-10-22rustc: Convert two printlns in trans into debug!Brian Anderson-2/+2
2012-10-22Long linesBrian Anderson-1/+2
2012-10-22Merge pull request #3826 from jdm/doublefailBrian Anderson-1/+1
Fix ICE stemming from use of unique pointers in unreachable blocks.
2012-10-22Fix breakage (forgot to commit this...Tim Chevalier-1/+1
2012-10-22Incorporate review comments (mostly fixing indentation)Tim Chevalier-28/+26
Previous commit was r=nmatsakis
2012-10-22Preliminary support for labeled break/continue for `loop`sTim Chevalier-97/+206
This patch adds preliminary middle-end support (liveness and trans) for breaks and `loop`s to `loop` constructs that have labels. while and for loops can't have labels yet. Progress on #2216
2012-10-22Simplify the AST representation of ty param boundsTim Chevalier-28/+35
Change ast::ty_param_bound so that all ty param bounds are represented as traits, with no special cases for Copy/Send/Owned/Const. typeck::collect generates the special cases. A consequence of this is that code using the #[no_core] attribute can't use the Copy kind/trait. Probably not a big deal? As a side effect, any user-defined traits that happen to be called Copy, etc. in the same module override the built-in Copy trait. r=nmatsakis Closes #2284
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