summary refs log tree commit diff
path: root/src/libsyntax/ext/deriving/to_str.rs
AgeCommit message (Collapse)AuthorLines
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-1/+1
2013-06-25great renaming propagation: syntaxCorey Richardson-2/+0
2013-06-22Expand the deriving(ToStr) implementationAlex Crichton-11/+64
2013-06-07syntax: move expand_generic_deriving to be a method on TraitDefHuon Wilson-2/+1
2013-05-22syntax: Change syntax extensions to expand to `std::foo` instead of `core::foo`Patrick Walton-2/+2
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-22syntax/ext: convert all AstBuilder methods to a uniform syntax.Huon Wilson-6/+6
2013-05-22syntax/ext: migrate build.rs functions to AstBuilder methods.Huon Wilson-3/+3
2013-05-22syntax/ext: modernise ext_ctxt to be CamelCase and use new.Huon Wilson-3/+3
2013-05-21syntax/ext: remove the ~str dependence of the deriving code.Huon Wilson-3/+3
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-1/+1
2013-05-14rustc: rename ast::self_ty and related fields to explicit_selfErick Tryzelaar-1/+1
2013-05-09Use a specialized string interner to reduce the need for owned stringsBjörn Steinbrink-4/+4
&str can be turned into @~str on demand, using to_owned(), so for strings, we can create a specialized interner that accepts &str for intern() and find() but stores and returns @~str.
2013-05-07libsyntax: add #[deriving(Rand, ToStr)].Huon Wilson-0/+54
The former fills each field of a struct or enum variant with a random value (and picks a random enum variant). The latter makes the .to_str method have the same output as fmt!("%?", ..).