| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-03-20 | auto merge of #13028 : thestinger/rust/vec_ng, r=huonw | bors | -13/+13 | |
| Closes #12771 | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -13/+13 | |
| Closes #12771 | ||||
| 2014-03-20 | Fix spans for enum-struct match arms | Nick Cameron | -10/+8 | |
| Correct spans for fields in enum struct arms where the field and variable are unified | ||||
| 2014-03-17 | rustc: disallow trailing parentheses for nullary enum variants | Laurent Bonnans | -2/+19 | |
| Fixes #12560 | ||||
| 2014-03-17 | De-@ codemap and diagnostic. | Eduard Burtescu | -1/+1 | |
| 2014-03-17 | De-@ ParseSess uses. | Eduard Burtescu | -5/+5 | |
| 2014-03-15 | rustc: Remove compiler support for __log_level() | Alex Crichton | -7/+1 | |
| This commit removes all internal support for the previously used __log_level() expression. The logging subsystem was previously modified to not rely on this magical expression. This also removes the only other function to use the module_data map in trans, decl_gc_metadata. It appears that this is an ancient function from a GC only used long ago. This does not remove the crate map entirely, as libgreen still uses it to hook in to the event loop provided by libgreen. | ||||
| 2014-03-14 | extra: Put the nail in the coffin, delete libextra | Alex Crichton | -1/+1 | |
| This commit shreds all remnants of libextra from the compiler and standard distribution. Two modules, c_vec/tempfile, were moved into libstd after some cleanup, and the other modules were moved to separate crates as seen fit. Closes #8784 Closes #12413 Closes #12576 | ||||
| 2014-03-14 | Added support for type placeholders (explicit requested type | Marvin Löbel | -0/+3 | |
| inference in a type with `_` ). This enables partial type inference. | ||||
| 2014-03-13 | auto merge of #12849 : nick29581/rust/doubles, r=alexcrichton | bors | -0/+1 | |
| 2014-03-12 | rustc: Remove matching on ~str from the language | Michael Darakananda | -18/+1 | |
| The `~str` type is not long for this world as it will be superseded by the soon-to-come DST changes for the language. The new type will be `~Str`, and matching over the allocation will no longer be supported. Matching on `&str` will continue to work, in both a pre and post DST world. | ||||
| 2014-03-12 | Update last_span in replace_token | Nick Cameron | -0/+1 | |
| 2014-03-12 | Changed lists of lifetimes in ast and ty to use Vec instead of OptVec. | Felix S. Klock II | -13/+13 | |
| There is a broader revision (that does this across the board) pending in #12675, but that is awaiting the arrival of more data (to decide whether to keep OptVec alive by using a non-Vec internally). For this code, the representation of lifetime lists needs to be the same in both ScopeChain and in the ast and ty structures. So it seemed cleanest to just use `vec_ng::Vec`, now that it has a cheaper empty representation than the current `vec` code. | ||||
| 2014-03-12 | alpha-rename .ident to .name in Lifetime, including in rustdoc. | Felix S. Klock II | -1/+1 | |
| 2014-03-11 | syntax: Add support for trait bounds on procs | Alex Crichton | -1/+2 | |
| This is needed to make progress on #10296 as the default bounds will no longer include Send. I believe that this was the originally intended syntax for procs, and it just hasn't been necessary up until now. | ||||
| 2014-03-07 | rename ast::ViewItemExternMod to ast::ViewItemExternCrate, and ↵ | Liigo Zhuang | -4/+4 | |
| clean::ExternMod to clean::ExternCrate | ||||
| 2014-03-03 | syntax: make match arms store the expr directly. | Huon Wilson | -10/+1 | |
| Previously `ast::Arm` was always storing a single `ast::Expr` wrapped in an `ast::Block` (for historical reasons, AIUI), so we might as just store that expr directly. Closes #3085. | ||||
| 2014-03-02 | Make visible types public in rustc | Steven Fackler | -1/+1 | |
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -23/+41 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -124/+123 | |
| 2014-02-26 | Replace callee_id with information stored in method_map. | Eduard Burtescu | -5/+5 | |
| 2014-02-24 | syntax: allow stmt/expr macro invocations to be delimited by {}. | Huon Wilson | -3/+23 | |
| This makes using control-flow-y macros like `spawn! { ... }` more fluent and natural. cc #11892. | ||||
| 2014-02-23 | auto merge of #12328 : nick29581/rust/abi, r=alexcrichton | bors | -4/+5 | |
| 2014-02-24 | All uses of `extern fn` should mean `extern "C" fn`. Closes #9309. | Nick Cameron | -4/+5 | |
| 2014-02-23 | Make break and continue hygienic | Edward Wang | -3/+3 | |
| Makes labelled loops hygiene by performing renaming of the labels defined in e.g. `'x: loop { ... }` and then used in break and continue statements within loop body so that they act hygienically when used with macros. Closes #12262. | ||||
| 2014-02-23 | Move std::{trie, hashmap} to libcollections | Alex Crichton | -1/+1 | |
| These two containers are indeed collections, so their place is in libcollections, not in libstd. There will always be a hash map as part of the standard distribution of Rust, but by moving it out of the standard library it makes libstd that much more portable to more platforms and environments. This conveniently also removes the stuttering of 'std::hashmap::HashMap', although 'collections::HashMap' is only one character shorter. | ||||
| 2014-02-22 | Represent lifetimes as Names instead of Idents | Edward Wang | -1/+1 | |
| Closes #7743. | ||||
| 2014-02-14 | extern mod => extern crate | Alex Crichton | -10/+10 | |
| This was previously implemented, and it just needed a snapshot to go through | ||||
| 2014-02-14 | Register new snapshots | Alex Crichton | -7/+6 | |
| This enables the parser error for `extern mod` => `extern crate` transitions. | ||||
| 2014-02-14 | Removed the obsolete ast::CallSugar (previously used by `do`). | Eduard Burtescu | -8/+6 | |
| 2014-02-14 | Refactored ast_map and friends, mainly to have Paths without storing them. | Eduard Burtescu | -22/+15 | |
| 2014-02-13 | Replace `extern mod` with `extern crate` | Flavio Percoco | -79/+81 | |
| This patch adds a new keyword `crate` which is intended to replace mod in the context of `extern mod` as part of the issue #9880. The patch doesn't replace all `extern mod` cases since it is necessary to first push a new snapshot 0. The implementation could've been less invasive than this. However I preferred to take this chance to split the `parse_item_foreign_mod` method and pull the `extern crate` part out of there, hence the new method `parse_item_foreign_crate`. | ||||
| 2014-02-11 | Correct span for self and ExprStruct | Seo Sanghyeon | -2/+2 | |
| 2014-02-11 | Move replace and swap to std::mem. Get rid of std::util | Edward Wang | -4/+4 | |
| Also move Void to std::any, move drop to std::mem and reexport in prelude. | ||||
| 2014-02-08 | Fixed error starting with uppercase | mr.Shu | -4/+4 | |
| Error messages cleaned in librustc/middle Error messages cleaned in libsyntax Error messages cleaned in libsyntax more agressively Error messages cleaned in librustc more aggressively Fixed affected tests Fixed other failing tests Last failing tests fixed | ||||
| 2014-02-07 | Rewrite path::Display to reduce unnecessary allocation | Kevin Ballard | -2/+2 | |
| 2014-02-07 | Correct span for ExprFnBlock, ExprMethodCall, ExprParen | Seo Sanghyeon | -3/+3 | |
| 2014-02-07 | Removed @self and @Trait. | Eduard Burtescu | -20/+11 | |
| 2014-02-04 | Replace NonCopyable usage with NoPod | Flavio Percoco | -2/+3 | |
| cc #10834 | ||||
| 2014-02-02 | rustc: update docs & propagate @[]/@str removal more. | Huon Wilson | -1/+1 | |
| Various functions can now be made specific to ~[], or just non-managed vectors. | ||||
| 2014-02-02 | rustc: Remove the vstore handling of @str and @[]. | Huon Wilson | -1/+1 | |
| 2014-02-02 | syntax: remove the handling of @str and @[] from the parser completely. | Huon Wilson | -30/+9 | |
| 2014-02-02 | syntax: add an obsolete syntax warning for @[]. | Huon Wilson | -1/+4 | |
| 2014-02-02 | librustc: Remove `@str` from the language | Patrick Walton | -1/+4 | |
| 2014-02-02 | libsyntax: Remove `@str` from the interner | Patrick Walton | -1/+2 | |
| 2014-02-02 | libsyntax: Remove the `interner_get` function and all uses | Patrick Walton | -1/+2 | |
| 2014-02-02 | libsyntax: Remove many uses of `token::ident_to_str` | Patrick Walton | -4/+4 | |
| 2014-02-02 | libsyntax: Remove `ident_to_str` from the parser, which was returning | Patrick Walton | -8/+6 | |
| `@str` values | ||||
| 2014-02-02 | libsyntax: Remove all `@str` from the AST | Patrick Walton | -5/+8 | |
| 2014-02-02 | libsyntax: Make float literals not use `@str` | Patrick Walton | -3/+6 | |
