about summary refs log tree commit diff
path: root/src/rustc
AgeCommit message (Collapse)AuthorLines
2012-08-23Some error message cleanup in check.rs.Michael Sullivan-10/+7
2012-08-23Merge pull request #3258 from erickt/serializationBen Blum-2/+3
Fixing serialization no-implicit-copies warnings, and other misc cleanup
2012-08-23Infer variance of types with respect to the region parameter.Niko Matsakis-229/+493
A similar approach could be used for type parameters. Fixes #2282.
2012-08-22Represent "item families" in the decoder as an enumTim Chevalier-92/+157
This eliminates some match checks. Also get rid of other match checks in metadata code.
2012-08-22rustc: add all the pretty printer modes to error messageErick Tryzelaar-2/+3
2012-08-22rustc: Remove typestate sourceBrian Anderson-3151/+0
2012-08-22remove a debug print statement moving out of enumsBen Blum-1/+0
2012-08-22Dead code eliminationTim Chevalier-9/+1
2012-08-22Compile moving out of enums (#2329)Ben Blum-6/+9
2012-08-22Parse and typecheck moving out of enums (#2329)Ben Blum-7/+55
2012-08-22Merge find_linkage_attrs with find_linkage_metasTim Chevalier-3/+4
This gets rid of a gratuitous `match check`.
2012-08-22intern identifiersPaul Stansifer-876/+947
2012-08-22Track the type of self properly. Closes #3247.Michael Sullivan-96/+88
2012-08-22Eliminate many match checks in rustcTim Chevalier-76/+53
2012-08-21Fix generation of generic methods with explicit selfNiko Matsakis-34/+72
There used to be two distinct code paths. Now there is one.
2012-08-21Don't refute "()" in let-bindings (fixes #3104).Ben Blum-0/+1
2012-08-21Convert atomic intrinsics away from old argument modes (partial #3200)Ben Blum-14/+44
2012-08-21remove trailing whitespaceNiko Matsakis-1/+1
2012-08-21more sound treatment of fn& regions; change all & to be distinctNiko Matsakis-88/+142
2012-08-20new region inference, seperate infer into modules, improve error msgsNiko Matsakis-2501/+3764
Fixes #2806 Fixes #3197 Fixes #3138
2012-08-20Try to do some resolution of vtables earlier, in a fairly ad-hoc way. Closes ↵Michael Sullivan-36/+90
#3156.
2012-08-20Disallow deconstructing destructing structs (fixes #3147)Ben Blum-0/+6
2012-08-20remove fixme in check::altBen Blum-2/+0
2012-08-20Re-allow pattern-matching structs (#3215)Ben Blum-2/+0
2012-08-20Do vtable resolution for *all* method calls, not just statically resolved ↵Michael Sullivan-22/+31
ones... Closes #3221.
2012-08-17rustc: Implement "priv" for simple items.Patrick Walton-60/+124
Inherited privacy doesn't work yet. This probably requires a snapshot since it won't be backwards compatible. Additionally, two errors are printed instead of one. For this reason the test is XFAIL'd.
2012-08-17fix deprecated-mode lint warning to consider dtorsNiko Matsakis-1/+1
2012-08-17Make by-val explicit self actually work. Closes #2585.Michael Sullivan-64/+129
2012-08-17rustc: Remove all the code dealing with named implementations in resolve3Patrick Walton-227/+33
2012-08-17rustc: Remove the impl mapPatrick Walton-186/+5
2012-08-17rustc: Get rid of the impl_map in the encoderPatrick Walton-26/+20
2012-08-17rustc: Prevent destructors from being run twice with the repeated vector syntaxPatrick Walton-0/+9
2012-08-17rustc: Remove a few allocations from metadata. Shaves a few milliseconds off ↵Patrick Walton-4/+5
compilation of hello world.
2012-08-17rustc: Remove a bunch of unused metadata tags from commonPatrick Walton-9/+0
2012-08-17rustc: Remove tag_paths and all of the associated encodingPatrick Walton-214/+0
2012-08-17make borrowck more conservative around rvalues.Niko Matsakis-46/+70
this will require more temporaries, but is probably less magical. also, it means that borrowck matches trans better, so fewer crashes. bonus. Finally, stop warning about implicit copies when we are actually borrowing. Also, one test (vec-res-add) stopped failing due to #2587, and hence I added an xfail-test. Fixes #3217, #2977, #3067
2012-08-17rustc: Remove resolve_pathPatrick Walton-56/+0
2012-08-17rustc: Remove a user of tag_paths.Patrick Walton-31/+11
This commit breaks the item-printing functionality. It will return in a faster form.
2012-08-17Remove a `match check`Lindsey Kuper-3/+8
2012-08-17More and better debug messages for method typecheckingLindsey Kuper-6/+18
2012-08-17rustc: Remove lookup_defs; unused.Patrick Walton-14/+1
2012-08-17rustc: Encode reexports in the metadata and don't have each_path search ↵Patrick Walton-67/+161
tag_paths
2012-08-17Forbid pattern-matching structs until the next snapshot (#3215)Ben Blum-0/+2
2012-08-17Work around #3215/#3217 use-after-free in typeck::check::altBen Blum-1/+4
2012-08-17rustc: upcall_alloc_c_stack doesn't existBrian Anderson-3/+0
2012-08-17Default methods with self-calls make it as far as trans.Lindsey Kuper-0/+20
2012-08-17Change node_id to def_id in self_info.Lindsey Kuper-7/+11
2012-08-17Remove the class keywordBrian Anderson-26/+26
2012-08-16s/class/struct/ in an error message.Graydon Hoare-1/+1
2012-08-15rustc: Allow external structs to be constructed. Closes #3012.Patrick Walton-1/+3
Embarrassing.