summary refs log tree commit diff
path: root/src/librustc/middle
AgeCommit message (Collapse)AuthorLines
2012-12-20Remove the cfg(stageN)-specific serialize code.Erick Tryzelaar-4/+0
2012-12-19Remove serialize::traits submodule.Erick Tryzelaar-0/+4
2012-12-18Stop resolving static methods at the module level. Closes #4179Brian Anderson-23/+14
2012-12-17Change iter::find's closure to take a refErick Tryzelaar-1/+1
2012-12-17Change the default_methods lint mode from forbid to deny to fix testsBrian Anderson-1/+1
2012-12-17Switch from serialization to std::serialize. (snapshot)Erick Tryzelaar-90/+89
2012-12-17When matching a slice, the tail should have the same lifetimeJakub Wieczorek-5/+20
2012-12-17Simplify the exhaustiveness check and add commentsJakub Wieczorek-37/+37
2012-12-17Use the same logic for _ and [..tail] when checking reachabilityJakub Wieczorek-17/+6
2012-12-17Add support for destructuring vectors in match expressionsJakub Wieczorek-8/+294
2012-12-14librustc: Add a lint mode for deprecated self. r=brsonPatrick Walton-0/+42
2012-12-14librustc: Fix type_use for generic newtype structs. Closes #4188. rs=bugfixPatrick Walton-1/+12
2012-12-14librustc: Implement a lint mode for default methods. r=brsonPatrick Walton-1/+29
2012-12-14Revert "librustc: Implement a lint mode for default methods"Patrick Walton-29/+1
This reverts commit 53b181dd47b9a10583bb9b300acc8b3ba9f56717.
2012-12-14librustc: Implement a lint mode for default methodsPatrick Walton-1/+29
2012-12-14librustc: Ensure that no moves from the inside of @ or & boxes occur. ↵Patrick Walton-26/+98
rs=crashing-servo
2012-12-13librustc: Reset the mode context to MoveValue for block lambdas. rs=bugfixPatrick Walton-9/+19
2012-12-13librustc: Add missing case in mem_categorization. rs=bugfixPatrick Walton-0/+4
2012-12-13librustc: Remove merge markers. rs=oopsPatrick Walton-6/+1
2012-12-13librustc: Have coherence check Copy kind bounds when determining whether ↵Patrick Walton-22/+107
parameter substitutions could possibly unify. r=nmatsakis
2012-12-13Rename Send trait to OwnedBrian Anderson-43/+43
2012-12-13Rename Owned trait to DurableBrian Anderson-58/+57
2012-12-13librustc: Allow moves out of `self`. r=nmatsakisPatrick Walton-47/+86
2012-12-13librustc: Automatically move non-implicitly-copyable types into unique ↵Patrick Walton-23/+30
closures. r=nmatsakis
2012-12-13librustc: Fix explicit self for objects in more cases. r=nmatsakisPatrick Walton-49/+56
2012-12-13librustc: Make `use` statements crate-relative by default. r=brsonPatrick Walton-513/+714
2012-12-12Fix vtable calculations when translating static methods. Closes #4165Brian Anderson-9/+1
2012-12-12syntax: remove all remaining uses of #ast, and #ast / qquote itself.Graydon Hoare-11/+24
2012-12-11Auto-deref when checking field and method privacyTim Chevalier-2/+7
This disallows using pointers to sneak around priv qualifiers. Deeming this too small for review as well. Closes #3763
2012-12-11Remove old derivingBrian Anderson-972/+17
2012-12-11Avoid extra error for type mismatches in patternsTim Chevalier-1/+10
When a type error has already occurred, don't call ty::subst, which may ICE due to the mismatch in the number of type params involved. I'm deeming this too small to review. Closes #3680
2012-12-11Revert "Merge pull request #4144 from luqmana/deprecated-attribute"Tim Chevalier-27/+0
This reverts commit f675b97ddc3d85498473bb4da7f95b8942ebbd81, reversing changes made to e7dd3af970b44c09a429d02d60fd44b9f8ec45bd.
2012-12-11Fix whitespaceTim Chevalier-1/+1
2012-12-11Allow pattern-matching on any strings, not just unique stringsTim Chevalier-1/+11
r=brson Closes #3574
2012-12-10Merge pull request #4144 from luqmana/deprecated-attributeTim Chevalier-0/+27
Add deprecated attribute.
2012-12-10Remove commented-out codeTim Chevalier-7/+0
2012-12-10Remove un-needed code for obsolete classesTim Chevalier-395/+254
and rename "class" to "struct" everywhere possible (except local vars, I was too lazy for that) -- that is why this commit is so big. No review, just dead code removal and renaming. Closes #3515
2012-12-10Add license boilerplate to more files.Graydon Hoare-0/+10
2012-12-10librustc: Fix bug preventing cross-crate struct destructuring from working. ↵Patrick Walton-1/+7
rs=bugfix
2012-12-10librustc: Remove is_self_field from borrowck. Unused. rs=#rustPatrick Walton-12/+0
2012-12-09Add deprecated attribute.Luqman Aden-0/+27
2012-12-08Print out a more helpful type error message for do-blocks/for-loopsTim Chevalier-27/+71
If a do-block body has the wrong type, or a for-loop body has a non-() type, suggest that the user might have meant the other one. Closes #2817 r=brson
2012-12-07librustc: De-mode pattern bindings. r=nmatsakisPatrick Walton-87/+82
2012-12-07librustc: Implement "&mut [T]" as an expression. r=brsonPatrick Walton-4/+9
2012-12-07Long linesBrian Anderson-5/+7
2012-12-07Remove impl_id from trait_ref. UnusedBrian Anderson-3/+0
2012-12-07Add an auto-slice-and-ref step to method lookup. Allows ~[T] to work with ↵Brian Anderson-7/+45
explicit self
2012-12-07Merge pull request #4101 from brson/bound-default-methodsBrian Anderson-36/+85
Call default methods on bound typarams more correctly
2012-12-06librustc: Propagate type uses correctly from method calls to the containing ↵Patrick Walton-4/+4
functions. rs=bugfix This adds a new script, `monodebug.pl`. It can be used to diagnose problems stemming from incorrect combining of monomorphic generic instantiations.
2012-12-06Rename std::ebml::Reader => std::ebml::reader, same for writerTim Chevalier-30/+30
Closes #4076