summary refs log tree commit diff
path: root/src/libsyntax/print
AgeCommit message (Collapse)AuthorLines
2013-06-30Change char::escape_{default,unicode} to take callbacks instead of allocatingAlex Crichton-2/+6
strings
2013-06-29Remove mutability from unique boxes in the ASTAlex Crichton-3/+1
2013-06-28librustc: Remove the broken overloaded assign-ops from the language.Patrick Walton-3/+5
They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits.
2013-06-27auto merge of #7361 : brson/rust/incoming, r=brsonbors-11/+14
2013-06-26Fix pretty-printing for bounded closures. Close #7333.Ben Blum-6/+11
2013-06-26Infer default static/Owned bounds for unbounded heap fns/traits (#7264)Ben Blum-6/+6
2013-06-25Merge remote-tracking branch 'mozilla/master' into incomingBrian Anderson-3/+9
Conflicts: src/librustc/middle/astencode.rs src/librustc/middle/check_const.rs
2013-06-25auto merge of #7365 : cmr/rust/syntax_cleanup, r=Aatchbors-12/+6
Sets the stage for further cleanup (especially mass-slaughter of `@`)
2013-06-25remove the redundant `each` method from OptVecDaniel Micay-1/+1
2013-06-25great renaming propagation: syntaxCorey Richardson-12/+6
2013-06-24Merge remote-tracking branch 'cmr/various-cleanup' into incomingBrian Anderson-11/+14
2013-06-23Support foreign 'static mut' variables as wellAlex Crichton-1/+4
2013-06-23Add 'static mut' items to the languageAlex Crichton-1/+4
2013-06-23Parse and typecheck (not kindcheck) bounds on trait paths.Ben Blum-2/+15
2013-06-23vec: remove BaseIter implementationDaniel Micay-23/+23
I removed the `static-method-test.rs` test because it was heavily based on `BaseIter` and there are plenty of other more complex uses of static methods anyway.
2013-06-21Remove `ast::pure_fn` and all concept of `pure` from the compilerCorey Richardson-11/+14
2013-06-21vec: rm old_iter implementations, except BaseIterDaniel Micay-3/+3
The removed test for issue #2611 is well covered by the `std::iterator` module itself. This adds the `count` method to `IteratorUtil` to replace `EqIter`.
2013-06-16Add copies to type params with Copy boundNiko Matsakis-6/+6
2013-06-14add IteratorUtil to the preludeDaniel Micay-1/+0
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-24/+24
This almost removes the StringRef wrapper, since all strings are Equiv-alent now. Removes a lot of `/* bad */ copy *`'s, and converts several things to be &'static str (the lint table and the intrinsics table). There are many instances of .to_managed(), unfortunately.
2013-06-12std: convert str::escape_* to methods.Huon Wilson-2/+1
2013-06-11option: remove redundant old_iter implsDaniel Micay-8/+9
2013-06-10clean-up unused import warningsHuon Wilson-1/+0
2013-06-10std: remove str::{len, slice, is_empty} in favour of methods.Huon Wilson-1/+1
2013-06-08remove deprecated vec::{is_empty, len} functionsDaniel Micay-2/+2
2013-06-06Deduplicate words in code commentsAlexei Sholik-2/+2
2013-06-05removed unused imports (and one unused argument)John Clements-1/+0
2013-06-05token_to_ident takes argument by referenceJohn Clements-1/+1
2013-06-05interner just uses uints, not idents with syntax contextJohn Clements-8/+7
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-5/+4
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-06-01syntax: move callee_id into the expr_ variantsErick Tryzelaar-5/+5
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-20/+23
2013-05-30Remove copy bindings from patterns.Niko Matsakis-3/+0
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+10
2013-05-29libsyntax: Stop parsing mutable fieldsPatrick Walton-1/+0
2013-05-28Remove unnecessary allocations flagged by lintSeo Sanghyeon-3/+3
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+4
to libextra
2013-05-22Use static stringsSeo Sanghyeon-9/+9
2013-05-22Take string slicesSeo Sanghyeon-2/+2
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-212/+212
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-4/+4
2013-05-15auto merge of #6487 : recrack/rust/vec_len, r=thestingerbors-5/+5
Rename vec::len(var) to var.len() ``` libcore, libfuzzer, librustc, librustdoc, libstd, libsyntax test/auxiliary test/bench test/run-pass ```
2013-05-14rustc: rename ast::self_ty and related fields to explicit_selfErick Tryzelaar-20/+20
2013-05-15Rename vec::len(var) to var.len()Youngmin Yoo-5/+5
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-49/+49
2013-05-14Fix cosmetics for fail!() callsMarvin Löbel-1/+1
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-6/+6
fail!() used to require owned strings but can handle static strings now. Also, it can pass its arguments to fmt!() on its own, no need for the caller to call fmt!() itself.
2013-05-12librustc: Make `self` and `static` into keywordsPatrick Walton-0/+1
2013-05-10Remove the '<->' operator from the languageAlex Crichton-6/+0
2013-05-09Use a specialized string interner to reduce the need for owned stringsBjörn Steinbrink-2/+2
&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.