| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2014-07-03 | Simplify creating a parser from a token tree | Piotr Jawniak | -7/+1 | |
| Closes #15306 | ||||
| 2014-05-06 | librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, except | Patrick Walton | -1/+3 | |
| for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change] | ||||
| 2014-04-16 | syntax: unify all MacResult's into a single trait. | Huon Wilson | -2/+2 | |
| There's now one unified way to return things from a macro, instead of being able to choose the `AnyMacro` trait or the `MRItem`/`MRExpr` variants of the `MacResult` enum. This does simplify the logic handling the expansions, but the biggest value of this is it makes macros in (for example) type position easier to implement, as there's this single thing to modify. By my measurements (using `-Z time-passes` on libstd and librustc etc.), this appears to have little-to-no impact on expansion speed. There are presumably larger costs than the small number of extra allocations and virtual calls this adds (notably, all `macro_rules!`-defined macros have not changed in behaviour, since they had to use the `AnyMacro` trait anyway). | ||||
| 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 | -1/+1 | |
| Closes #12771 | ||||
| 2014-03-01 | libsyntax: Fix errors arising from the automated `~[T]` conversion | Patrick Walton | -2/+7 | |
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -1/+1 | |
| 2014-02-02 | libsyntax: Introduce an `InternedString` type to reduce `@str` in the | Patrick Walton | -3/+4 | |
| compiler and use it for attributes | ||||
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -2/+2 | |
| 2014-01-02 | libsyntax: De-`@mut` `token` in the parser | Patrick Walton | -1/+1 | |
| 2014-01-02 | libsyntax: Make the parser mutable | Patrick Walton | -1/+3 | |
| 2013-12-29 | Start passing around &mut ExtCtxt | Steven Fackler | -1/+1 | |
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -1/+1 | |
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -2/+2 | |
| 2013-08-10 | std: Rename Iterator.transform -> .map | Erick Tryzelaar | -1/+1 | |
| cc #5898 | ||||
| 2013-08-01 | syntax: implement cfg!() which evaluates to true/false where #[cfg] would ↵ | Huon Wilson | -0/+45 | |
| keep/remove. Example: if cfg!(test) { calculation_to_run_only_when_testing(); } | ||||
