| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-05-03 | rustc: Handle struct patterns where the expected type is an enum | Tim Chevalier | -3/+3 | |
| Previously, rustc would ICE if you matched on an enum-typed thing with a structure pattern. Error out correctly. | ||||
| 2013-05-02 | Remove 'Local Variable' comments | Brendan Zabarauskas | -8/+0 | |
| 2013-05-01 | auto merge of #6148 : erickt/rust/remove-drop, r=pcwalton | bors | -27/+1 | |
| The drop block has been deprecated for quite some time. This patch series removes support for parsing it and all the related machinery that made drop work. As a side feature of all this, I also added the ability to annote fields in structs. This allows comments to be properly associated with an individual field. However, I didn't update `rustdoc` to integrate these comment blocks into the documentation it generates. | ||||
| 2013-05-01 | remove some warnings | Erick Tryzelaar | -1/+1 | |
| 2013-05-01 | rustc: remove the rest of drop | Erick Tryzelaar | -26/+0 | |
| Removes: ast::struct_def::dtor syntax::ast::ii_dtor syntax::visit::fk_dtor syntax::ast_map::node_dtor syntax:struct_dtor | ||||
| 2013-05-01 | Revert rename of Div to Quot | Brendan Zabarauskas | -3/+3 | |
| 2013-04-30 | new borrow checker (mass squash) | Niko Matsakis | -7/+17 | |
| 2013-04-29 | librustc: Remove the concept of modes from the compiler. | Patrick Walton | -1/+1 | |
| This commit does not remove `ty::arg`, although that should be possible to do now. | ||||
| 2013-04-28 | get rid of prec.rs | John Clements | -0/+4 | |
| prec.rs no longer had much to do with precedence; the token->binop function fits better in token.rs, and the one-liner defining the precedence of 'as' can go next to the other precedence stuff in ast_util.rs | ||||
| 2013-04-28 | simplify, based on invariant that items_allowed != foreign_items_allowed | John Clements | -1/+0 | |
| 2013-04-27 | only use #[no_core] in libcore | Daniel Micay | -7/+0 | |
| 2013-04-22 | librustc: Remove `use mod` from the language | Patrick Walton | -2/+3 | |
| 2013-04-22 | Rename Div operator trait to Quot and Modulo operator trait to Rem | Brendan Zabarauskas | -4/+4 | |
| 2013-04-19 | syntax: de-mode and prepare for de-modeing rustc | Alex Crichton | -11/+11 | |
| 2013-04-16 | added MTWT functions | John Clements | -0/+275 | |
| 2013-04-10 | path -> Path | John Clements | -3/+3 | |
| 2013-04-05 | Rather than storing a list of ty::method per trait, store one ty::method | Niko Matsakis | -1/+1 | |
| per method and list of def-ids per trait. | ||||
| 2013-03-29 | Add AbiSet and integrate it into the AST. | Niko Matsakis | -1/+1 | |
| I believe this patch incorporates all expected syntax changes from extern function reform (#3678). You can now write things like: extern "<abi>" fn foo(s: S) -> T { ... } extern "<abi>" mod { ... } extern "<abi>" fn(S) -> T The ABI for foreign functions is taken from this syntax (rather than from an annotation). We support the full ABI specification I described on the mailing list. The correct ABI is chosen based on the target architecture. Calls by pointer to C functions are not yet supported, and the Rust type of crust fns is still *u8. | ||||
| 2013-03-28 | Removing unused imports | Alex Crichton | -1/+1 | |
| 2013-03-22 | librustc: Remove `pure` from libsyntax and librustc. | Patrick Walton | -24/+23 | |
| 2013-03-22 | syntax: replace uses of old deriving attribute with new one | Andrew Paseltiner | -1/+1 | |
| 2013-03-11 | librustc: Replace all uses of `fn()` with `&fn()`. rs=defun | Patrick Walton | -1/+1 | |
| 2013-03-11 | Implement vector destructuring from tail | Seo Sanghyeon | -4/+7 | |
| 2013-03-07 | librustc: Remove record patterns from the compiler | Patrick Walton | -1/+1 | |
| 2013-03-05 | core: convert vec::{last,last_opt} to return references | Erick Tryzelaar | -1/+1 | |
| 2013-03-05 | auto merge of #5212 : thestinger/rust/iter, r=graydon | bors | -1/+1 | |
| A small step towards fixing #2827 | ||||
| 2013-03-04 | Remove unused imports throughout src/ | Alex Crichton | -1/+0 | |
| 2013-03-03 | replace option::iter with a BaseIter impl | Daniel Micay | -1/+1 | |
| 2013-03-02 | libsyntax: Remove `fn@`, `fn~`, and `fn&` from libsyntax. rs=defun | Patrick Walton | -53/+22 | |
| 2013-03-01 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -1/+1 | |
| 2013-02-28 | Fix implicit leaks of imports throughout libraries | Alex Crichton | -1/+1 | |
| Also touch up use of 'pub' and move some tests around so the tested functions don't have to be 'pub' | ||||
| 2013-02-28 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -15/+28 | |
| 2013-02-27 | auto merge of #5141 : nikomatsakis/rust/region-syntax-expl-lifetimes, ↵ | bors | -16/+29 | |
| r=nikomatsakis Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 r? @graydon | ||||
| 2013-02-27 | Introduce lifetime declarations into the lists of type parameters. | Niko Matsakis | -16/+29 | |
| Major changes are: - replace ~[ty_param] with Generics structure, which includes both OptVec<TyParam> and OptVec<Lifetime>; - the use of syntax::opt_vec to avoid allocation for empty lists; cc #4846 | ||||
| 2013-02-27 | Merge remote-tracking branch 'remotes/origin/incoming' into incoming | Erick Tryzelaar | -2/+2 | |
| 2013-02-27 | librustc: Forbid `pub` or `priv` before trait implementations | Patrick Walton | -2/+2 | |
| 2013-02-25 | libsyntax: add some explicit copies | Erick Tryzelaar | -2/+2 | |
| 2013-02-25 | libsyntax: progress on making syntax::visit vecs_implicitly_copyable-free | Erick Tryzelaar | -10/+10 | |
| 2013-02-25 | libsyntax: convert visit to pass ty_params by reference | Erick Tryzelaar | -23/+22 | |
| 2013-02-20 | librustc: Get rid of structural records save for front/test.rs. | Luqman Aden | -2/+2 | |
| 2013-02-19 | libsyntax: make enum variants take refs | Erick Tryzelaar | -2/+2 | |
| 2013-02-17 | libsyntax: Update view_item_use/import to reflect actual usage | Luqman Aden | -2/+2 | |
| 2013-02-15 | librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵ | Patrick Walton | -2/+2 | |
| slipped through. r=tjc | ||||
| 2013-02-13 | Remove die!, raplace invocations with fail! Issue #4524 pt 3 | Nick Desaulniers | -3/+3 | |
| 2013-02-04 | libsyntax: Add explicit self to ast_util. rs=explicit-selfing | Patrick Walton | -22/+22 | |
| 2013-01-31 | test cases, cleanup | John Clements | -23/+1 | |
| 2013-01-31 | Replace most invocations of fail keyword with die! macro | Nick Desaulniers | -3/+3 | |
| 2013-01-31 | Finalize moves-based-on-type implementation. | Niko Matsakis | -6/+3 | |
| Changes: - Refactor move mode computation - Removes move mode arguments, unary move, capture clauses (though they still parse for backwards compatibility) - Simplify how moves are handled in trans - Fix a number of illegal copies that cropped up - Workaround for bug involving def-ids in params (see details below) Future work (I'll open bugs for these...): - Improve error messages for moves that are due to bindings - Add support for moving owned content like a.b.c to borrow check, test in trans (but I think it'll "just work") - Proper fix for def-ids in params Def ids in params: Move captures into a map instead of recomputing. This is a workaround for a larger bug having to do with the def-ids associated with ty_params, which are not always properly preserved when inlining. I am not sure of my preferred fix for the larger bug yet. This current fix removes the only code in trans that I know of which relies on ty_param def-ids, but feels fragile. | ||||
| 2013-01-30 | librustc: Remove legacy exports from the language. r=brson | Patrick Walton | -86/+14 | |
| 2013-01-29 | libsyntax: De-export a lot of libsyntax. rs=deëxporting | Patrick Walton | -56/+59 | |
