| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-06-02 | syntax: Remove use of `pub use` globs | klutzy | -2/+2 | |
| `quote_expr!` now injects two more (priv) `use` globs. This may cause extra unused_imports warning. | ||||
| 2014-05-26 | syntax: Add a source field to `Local` for tracking if it comes from `let`s ↵ | Huon Wilson | -0/+2 | |
| or `for`s. | ||||
| 2014-05-24 | Changes from feedback | Steven Fackler | -4/+4 | |
| 2014-05-24 | Add AttrId to Attribute_ | Steven Fackler | -2/+4 | |
| 2014-05-08 | libsyntax: Remove uses of `~str` from libsyntax, and fix fallout | Patrick Walton | -1/+3 | |
| 2014-04-28 | auto merge of #13791 : lifthrasiir/rust/mod-inner-span, r=huonw | bors | -2/+3 | |
| This PR is primarily motivated by (and fixes) #12926. We currently only have a span for the individual item itself and not for the referred contents. This normally does not cause a problem since both are located in the same file; it *is* possible that the contained statement or item is located in the other file (the syntax extension can do that), but even in that case the syntax extension should be located in the same file as the item. The module item (i.e. `mod foo;`) is the only exception here, and thus warrants a special treatment. Rustdoc would now distinguish `mod foo;` from `mod foo {...}` by checking if the span for the module item and module contents is in different files. If it's the case, we'd prefer module contents over module item. There are alternative strategies, but as noted above we will have some corner cases if we don't record the contents span explicitly. | ||||
| 2014-04-27 | syntax: `Mod` records the span for inner contents. | Kang Seonghoon | -2/+3 | |
| this is useful when the module item and module contents are defined from different files (like rustdoc). in most cases the original span for the module item would be used; in other cases, the span for module contents is available separately at the `inner` field. | ||||
| 2014-04-26 | syntax: ViewItemUse no longer contains multiple view paths. | Kang Seonghoon | -12/+12 | |
| it reflected the obsolete syntax `use a, b, c;` and did not make past the parser (though it was a non-fatal error so we can continue). this legacy affected many portions of rustc and rustdoc as well, so this commit cleans them up altogether. | ||||
| 2014-04-24 | auto merge of #13713 : edwardw/rust/methodcall-span, r=alexcrichton | bors | -2/+3 | |
| Specifically, the method parameter cardinality mismatch or missing method error message span now gets method itself exactly. It was the whole expression. Closes #9390 Closes #13684 Closes #13709 | ||||
| 2014-04-23 | Allow attributes on match arms | Steven Fackler | -0/+1 | |
| RFC: 0008-match-arm-attributes | ||||
| 2014-04-24 | Calibrate span for method call error messages | Edward Wang | -2/+3 | |
| Specifically, the method parameter cardinality mismatch or missing method error message span now gets method itself exactly. It was the whole expression. Closes #9390 Closes #13684 Closes #13709 | ||||
| 2014-04-23 | Support unsized types with the `type` keyword | Nick Cameron | -0/+3 | |
| 2014-04-23 | Add a span to ast::TyParam | Nick Cameron | -1/+4 | |
| 2014-04-10 | Renamed ast::Purity to ast::FnStyle and ast::ImpureFn to ast::NormalFn and ↵ | Kasey Carrothers | -1/+1 | |
| updated associated variable and function names. | ||||
| 2014-04-04 | syntax: remove obsolete mutability from ExprVec and ExprRepeat. | Eduard Burtescu | -1/+1 | |
| 2014-04-03 | syntax: Remove AbiSet, use one Abi | Alex Crichton | -2/+2 | |
| This change removes the AbiSet from the AST, converting all usage to have just one Abi value. The current scheme selects a relevant ABI given a list of ABIs based on the target architecture and how relevant each ABI is to that architecture. Instead of this mildly complicated scheme, only one ABI will be allowed in abi strings, and pseudo-abis will be created for special cases as necessary. For example the "system" abi exists for stdcall on win32 and C on win64. Closes #10049 | ||||
| 2014-03-30 | Removed deprecated functions `map` and `flat_map` for vectors and slices. | Marvin Löbel | -6/+4 | |
| 2014-03-27 | serialize: use Result | Sean McArthur | -0/+48 | |
| All of Decoder and Encoder's methods now return a Result. Encodable.encode() and Decodable.decode() return a Result as well. fixes #12292 | ||||
| 2014-03-22 | syntax: Fix fallout of removing get() | Alex Crichton | -1/+1 | |
| 2014-03-22 | Migrate all users of opt_vec to owned_slice, delete opt_vec. | Huon Wilson | -18/+15 | |
| syntax::opt_vec is now entirely unused, and so can go. | ||||
| 2014-03-20 | Removing imports of std::vec_ng::Vec | Alex Crichton | -2/+0 | |
| It's now in the prelude. | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -2/+2 | |
| Closes #12771 | ||||
| 2014-03-17 | De-@ codemap and diagnostic. | Eduard Burtescu | -1/+1 | |
| 2014-03-12 | Changed lists of lifetimes in ast and ty to use Vec instead of OptVec. | Felix S. Klock II | -6/+6 | |
| 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 | -2/+2 | |
| 2014-03-03 | syntax: make match arms store the expr directly. | Huon Wilson | -1/+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-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -11/+22 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -117/+113 | |
| 2014-02-26 | Replace callee_id with information stored in method_map. | Eduard Burtescu | -5/+4 | |
| 2014-02-22 | auto merge of #12451 : edwardw/rust/ident-2-name, r=cmr | bors | -2/+2 | |
| Closes #7743. | ||||
| 2014-02-21 | syntax: add syntax extension helper to make simple view items | Erick Tryzelaar | -0/+17 | |
| 2014-02-22 | Represent lifetimes as Names instead of Idents | Edward Wang | -2/+2 | |
| Closes #7743. | ||||
| 2014-02-14 | Removed the obsolete ast::CallSugar (previously used by `do`). | Eduard Burtescu | -4/+3 | |
| 2014-02-07 | Removed @self and @Trait. | Eduard Burtescu | -5/+0 | |
| 2014-02-02 | libsyntax: De-`@str` literal strings in the AST | Patrick Walton | -8/+12 | |
| 2014-02-02 | libsyntax: Introduce an `InternedString` type to reduce `@str` in the | Patrick Walton | -6/+22 | |
| compiler and use it for attributes | ||||
| 2014-01-30 | Implement default type parameters in generics. | Eduard Burtescu | -3/+14 | |
| 2014-01-27 | Demote self to an (almost) regular argument and remove the env param. | Eduard Burtescu | -4/+5 | |
| Fixes #10667 and closes #10259. | ||||
| 2014-01-26 | Removed all instances of XXX in preparation for relaxing of FIXME rule | Salem Talha | -3/+3 | |
| 2014-01-21 | [std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior | Simon Sapin | -1/+1 | |
| 2014-01-16 | Load macros from external modules | Steven Fackler | -2/+2 | |
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -108/+99 | |
| 2014-01-03 | librustc: Remove `@mut` support from the parser | Patrick Walton | -5/+6 | |
| 2014-01-01 | syntax::codemap: Add static DUMMY_SP | klutzy | -5/+5 | |
| It replaces `dummy_sp()`. | ||||
| 2013-12-29 | Start passing around &mut ExtCtxt | Steven Fackler | -3/+3 | |
| 2013-12-29 | Make ast_fold take &mut self | Steven Fackler | -2/+2 | |
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -9/+9 | |
| 2013-12-24 | Test fixes and rebase problems | Alex Crichton | -1/+0 | |
| Note that this removes a number of run-pass tests which are exercising behavior of the old runtime. This functionality no longer exists and is thoroughly tested inside of libgreen and libnative. There isn't really the notion of "starting the runtime" any more. The major notion now is "bootstrapping the initial task". | ||||
| 2013-12-17 | Remove obsolete mutability from ast::Ty | Seo Sanghyeon | -1/+1 | |
| 2013-12-01 | Box Block, fn_decl, variant and Ty in the AST, as they were inflating ↵ | Eduard Burtescu | -81/+83 | |
| critical enum sizes. | ||||
