about summary refs log tree commit diff
path: root/src/libsyntax/print/pp.rs
AgeCommit message (Collapse)AuthorLines
2014-01-03libsyntax: De-`@mut` (and de-`@`) `Printer::print_stack`Patrick Walton-4/+4
2014-01-03librustc: De-`@mut` all writersPatrick Walton-2/+2
2014-01-03librustc: De-`@mut` (and de-`@`) the pretty printerPatrick Walton-15/+15
2013-12-15librustc: Remove identifiers named `box`, since it's about to become a keyword.Patrick Walton-3/+5
2013-11-11Move std::rt::io to std::ioAlex Crichton-1/+1
2013-10-24Remove even more of std::ioAlex Crichton-7/+7
Big fish fried here: extra::json most of the compiler extra::io_util removed extra::fileinput removed Fish left to fry extra::ebml
2013-10-22Drop the '2' suffix from logging macrosAlex Crichton-26/+26
Who doesn't like a massive renaming?
2013-09-30syntax: Remove usage of fmt!Alex Crichton-28/+28
2013-09-17pp: typo in commentBenjamin Herr-1/+1
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-7/+13
2013-07-17librustc: Add a lint mode for unnecessary `copy` and remove a bunch of them.Patrick Walton-1/+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-25great renaming propagation: syntaxCorey Richardson-4/+2
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-9/+9
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-01Remove all uses of `pub impl`. rs=stylePatrick Walton-20/+23
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+3
2013-05-28Remove unnecessary allocations flagged by lintSeo Sanghyeon-2/+2
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+3
to libextra
2013-05-20Remove all unnecessary allocations (as flagged by lint)Alex Crichton-1/+1
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-3/+3
2013-05-15Rename vec::len(var) to var.len()Youngmin Yoo-2/+2
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-8/+8
2013-05-05Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-11/+0
Conflicts: src/libcore/core.rc src/libcore/hashmap.rs src/libcore/num/f32.rs src/libcore/num/f64.rs src/libcore/num/float.rs src/libcore/num/int-template.rs src/libcore/num/num.rs src/libcore/num/strconv.rs src/libcore/num/uint-template.rs src/libcore/ops.rs src/libcore/os.rs src/libcore/prelude.rs src/libcore/rt/mod.rs src/libcore/unstable/lang.rs src/librustc/driver/session.rs src/librustc/middle/astencode.rs src/librustc/middle/borrowck/check_loans.rs src/librustc/middle/borrowck/gather_loans.rs src/librustc/middle/borrowck/loan.rs src/librustc/middle/borrowck/preserve.rs src/librustc/middle/liveness.rs src/librustc/middle/mem_categorization.rs src/librustc/middle/region.rs src/librustc/middle/trans/base.rs src/librustc/middle/trans/inline.rs src/librustc/middle/trans/reachable.rs src/librustc/middle/typeck/check/_match.rs src/librustc/middle/typeck/check/regionck.rs src/librustc/util/ppaux.rs src/libstd/arena.rs src/libstd/ebml.rs src/libstd/json.rs src/libstd/serialize.rs src/libstd/std.rc src/libsyntax/ast_map.rs src/libsyntax/parse/parser.rs src/test/compile-fail/borrowck-uniq-via-box.rs src/test/compile-fail/regions-infer-borrow-scope-within-loop.rs src/test/run-pass/borrowck-nested-calls.rs
2013-05-02Remove 'Local Variable' commentsBrendan Zabarauskas-11/+0
2013-04-30new borrow checker (mass squash)Niko Matsakis-2/+2
2013-04-27only use #[no_core] in libcoreDaniel Micay-6/+0
2013-04-20syntax: remove unused 'mut' variablesAlex Crichton-3/+3
2013-04-19syntax: de-mode and prepare for de-modeing rustcAlex Crichton-2/+2
2013-03-29librustc: Remove `fail_unless!`Patrick Walton-10/+10
2013-03-22librustc: Remove the `const` declaration form everywherePatrick Walton-1/+1
2013-03-22syntax: replace uses of old deriving attribute with new oneAndrew Paseltiner-1/+1
2013-03-20change some uses of fail_unless to assert_eqJohn Clements-1/+1
2013-03-18librustc: Make the compiler ignore purity.Patrick Walton-3/+5
For bootstrapping purposes, this commit does not remove all uses of the keyword "pure" -- doing so would cause the compiler to no longer bootstrap due to some syntax extensions ("deriving" in particular). Instead, it makes the compiler ignore "pure". Post-snapshot, we can remove "pure" from the language. There are quite a few (~100) borrow check errors that were essentially all the result of mutable fields or partial borrows of `@mut`. Per discussions with Niko I think we want to allow partial borrows of `@mut` but detect obvious footguns. We should also improve the error message when `@mut` is erroneously reborrowed.
2013-03-11Remove uses of logBrian Anderson-1/+1
2013-03-07test: Fix tests.Patrick Walton-1/+3
2013-03-07librustc: Convert all uses of `assert` over to `fail_unless!`Patrick Walton-10/+10
2013-03-04Remove unused imports throughout src/Alex Crichton-3/+0
2013-02-26libsyntax: remove vecs_implicitly_copyable from the printerErick Tryzelaar-3/+3
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-12/+37
2013-02-15libsyntax: Get rid of uses of `move` and don't parse it.Luqman Aden-3/+3
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-1/+1
2013-02-07librustc: Lots of de-muting. rs=demutingPatrick Walton-92/+81
2013-02-04Merge remote-tracking branch 'bstrie/rimov' into incomingBrian Anderson-9/+9
Conflicts: src/libsyntax/parse/parser.rs src/test/bench/graph500-bfs.rs src/test/bench/sudoku.rs src/test/run-pass/borrowck-mut-vec-as-imm-slice.rs src/test/run-pass/empty-mutable-vec.rs src/test/run-pass/foreach-nested.rs src/test/run-pass/swap-2.rs
2013-01-31Replace most invocations of fail keyword with die! macroNick Desaulniers-1/+1
2013-01-30Fix RIMOV damage to libsyntaxBen Striegel-5/+5
2013-01-30RIMOV, round 10Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/~\[mut /~\[/g" {} \;
2013-01-30RIMOV, round 8Ben Striegel-2/+2
find ./ -type f -name "*.rs" -exec sed -i "s/ \([a-zA-Z_]\+\): ~\[mut / mut \1: ~\[/g" {} \;
2013-01-30RIMOV, round 7Ben Striegel-1/+1
find ./ -type f -name "*.rs" -exec sed -i "s/ mut \([a-zA-Z_]\+\): ~\[mut / mut \1: ~\[/g" {} \;
2013-01-30RIMOV, round 3Ben Striegel-3/+3
find ./ -type f -name "*.rs" -exec sed -i "s/let \(.*\)\[mut[ ]\?/let mut \1\[/g" {} \;
2013-01-29libsyntax: De-export libsyntax. rs=deexportingPatrick Walton-31/+37