about summary refs log tree commit diff
path: root/src/libsyntax/print/pprust.rs
AgeCommit message (Collapse)AuthorLines
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-15/+15
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-05-30Remove copy bindings from patterns.Niko Matsakis-3/+0
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-0/+7
2013-05-29libsyntax: Stop parsing mutable fieldsPatrick Walton-1/+0
2013-05-28Remove unnecessary allocations flagged by lintSeo Sanghyeon-1/+1
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+1
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-211/+211
2013-05-19Use assert_eq! rather than assert! where possibleCorey Richardson-1/+1
2013-05-15auto merge of #6487 : recrack/rust/vec_len, r=thestingerbors-3/+3
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-3/+3
2013-05-14syntax: Remove #[allow(vecs_implicitly_copyable)]Alex Crichton-41/+41
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.
2013-05-08librustc: Remove mutable fields from the language.Patrick Walton-4/+1
They're still parsed though, to get through bootstrapping.
2013-05-05Merge remote-tracking branch 'mozilla/incoming' into issue-5910-dyna-freezeNiko Matsakis-17/+1
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-10/+0
2013-05-01allow parsing attributes on struct fieldsErick Tryzelaar-0/+1
2013-05-01rustc: remove the rest of dropErick Tryzelaar-7/+0
Removes: ast::struct_def::dtor syntax::ast::ii_dtor syntax::visit::fk_dtor syntax::ast_map::node_dtor syntax:struct_dtor
2013-04-30new borrow checker (mass squash)Niko Matsakis-1/+7
2013-04-29librustc: Change labels to use the lifetime notation `'`.Patrick Walton-4/+13
2013-04-29librustc: Remove the concept of modes from the compiler.Patrick Walton-14/+0
This commit does not remove `ty::arg`, although that should be possible to do now.
2013-04-27only use #[no_core] in libcoreDaniel Micay-7/+0
2013-04-22auto merge of #6007 : pcwalton/rust/use-mod, r=brsonbors-4/+1
r? @brson
2013-04-22librustc: Remove `use mod` from the languagePatrick Walton-4/+1
2013-04-20syntax: remove unused 'mut' variablesAlex Crichton-1/+1