rust/src/libsyntax
bors 08c1155a22 auto merge of #7142 : alexcrichton/rust/deriving-zero, r=pcwalton
This allows mass-initialization of large structs without having to specify all the fields.

I'm a bit hesitant, but I wanted to get this out there. I don't really like using the `Zero` trait, because it doesn't really make sense for a type like `HashMap` to use `Zero` as the 'blank allocation' trait. In theory there'd be a new trait, but then that's adding cruft to the language which may not necessarily need to be there.

I do think that this can be useful, but I only implemented `Zero` on the basic types where I thought it made sense, so it may not be all that usable yet. (opinions?)
2013-06-16 01:52:09 -07:00
..
ext auto merge of #7142 : alexcrichton/rust/deriving-zero, r=pcwalton 2013-06-16 01:52:09 -07:00
parse auto merge of #7123 : huonw/rust/more-str, r=thestinger 2013-06-16 00:04:13 -07:00
print add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00
util Use @str instead of @~str in libsyntax and librustc. Fixes #5048. 2013-06-13 10:20:52 +10:00
abi.rs std: remove str::{connect,concat}*. 2013-06-10 23:57:03 +10:00
ast.rs Use @str instead of @~str in libsyntax and librustc. Fixes #5048. 2013-06-13 10:20:52 +10:00
ast_map.rs add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00
ast_util.rs add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00
attr.rs add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00
codemap.rs Use @str instead of @~str in libsyntax and librustc. Fixes #5048. 2013-06-13 10:20:52 +10:00
diagnostic.rs add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00
fold.rs remove unused imports 2013-06-16 12:20:12 +10:00
opt_vec.rs rm CopyableOrderedIter 2013-06-15 22:16:21 -04:00
syntax.rc librustc: Stop reexporting the standard modules from prelude. 2013-05-29 19:04:53 -07:00
visit.rs add IteratorUtil to the prelude 2013-06-14 23:15:42 -04:00