summary refs log tree commit diff
path: root/src/libsyntax/ast.rs
AgeCommit message (Collapse)AuthorLines
2013-06-29Remove mutability from unique boxes in the ASTAlex Crichton-2/+2
2013-06-29Use more deriving(IterBytes) in libsyntax.Ben Blum-183/+82
2013-06-28librustc: Rewrite reachability and forbid duplicate methods in type ↵Patrick Walton-2/+3
implementations. This should allow fewer symbols to be exported.
2013-06-28librustc: Change "Owned" to "Send" everywherePatrick Walton-1/+1
2013-06-28librustc: Rename Const to FreezePatrick Walton-1/+1
2013-06-27auto merge of #7361 : brson/rust/incoming, r=brsonbors-2/+0
2013-06-26Infer default static/Owned bounds for unbounded heap fns/traits (#7264)Ben Blum-2/+6
2013-06-25Merge remote-tracking branch 'mozilla/master' into incomingBrian Anderson-3/+3
Conflicts: src/librustc/middle/astencode.rs src/librustc/middle/check_const.rs
2013-06-25great renaming propagation: syntaxCorey Richardson-7/+5
2013-06-24Merge remote-tracking branch 'cmr/various-cleanup' into incomingBrian Anderson-2/+0
2013-06-23Support foreign 'static mut' variables as wellAlex Crichton-1/+1
2013-06-23Add 'static mut' items to the languageAlex Crichton-2/+2
2013-06-23Parse and typecheck (not kindcheck) bounds on trait paths.Ben Blum-1/+1
2013-06-21Remove `ast::pure_fn` and all concept of `pure` from the compilerCorey Richardson-2/+0
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-1/+1
2013-06-13Use @str instead of @~str in libsyntax and librustc. Fixes #5048.Huon Wilson-11/+11
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-09remove unused import warningsHuon Wilson-1/+1
2013-06-05removed unused imports (and one unused argument)John Clements-1/+1
2013-06-05interner just uses uints, not idents with syntax contextJohn Clements-3/+6
2013-06-05just use TLS internerJohn Clements-4/+2
2013-06-05rename repr to nameJohn Clements-4/+4
2013-06-05parser commentsJohn Clements-1/+2
2013-06-05comments & whitespaceJohn Clements-0/+3
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-1/+4
You can still initialize multiple variables at once with "let (x, y) = (1, 2)".
2013-06-04libsyntax: Remove `pub impl` from the languagePatrick Walton-2/+2
2013-06-01syntax: move callee_id into the expr_ variantsErick Tryzelaar-8/+18
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-4/+4
2013-05-30Remove copy bindings from patterns.Niko Matsakis-5/+4
2013-05-29libsyntax: Stop parsing mutable fieldsPatrick Walton-1/+0
2013-05-23cleanup warnings from libsyntaxErick Tryzelaar-2/+1
2013-05-23core: remove iter_bytes helper functionsErick Tryzelaar-6/+16
2013-05-22librustc: Change `std` to `extra` throughout libsyntax and librustcPatrick Walton-5/+5
2013-05-22libextra: Rename the actual metadata names of libcore to libstd and libstd ↵Patrick Walton-0/+2
to libextra
2013-05-20getting rid of interner_key! macroJohn Clements-18/+6
2013-05-20hygiene infrastructure.John Clements-3/+11
- added a hash table to memoize rename and mark operations. - added rename, mark, and resolve fold fns
2013-05-19Register snapshotsBrian Anderson-108/+0
2013-05-16Add BuiltinBounds to closure type: parse and handle subtyping,Niko Matsakis-1/+2
but do not integrate with kindck etc (requires a snapshot first)
2013-05-16syntax: deprecate #[auto_{en,de}code] in favour of #[deriving({En,De}codable)].Huon Wilson-234/+78
Replace all instances of #[auto_*code] with the appropriate #[deriving] attribute and remove the majority of the actual code, leaving stubs to refer the user to the new syntax.
2013-05-14auto merge of #6224 : erickt/rust/rustc-cleanup, r=ericktbors-4/+45
Just a couple minor cleanups and renames of librustc
2013-05-14rustc: rename ast::self_ty and related fields to explicit_selfErick Tryzelaar-6/+6
2013-05-14syntax: add IterBytes impls for some ast typesErick Tryzelaar-0/+41
2013-05-14Add inlining for iter_bytes for types used as hashmap keysBjörn Steinbrink-0/+2
Not inlining these affects the hash table performance quite badly.
2013-05-14Use static string with fail!() and remove fail!(fmt!())Björn Steinbrink-2/+2
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/+3
2013-05-11clean up the last bit of warningsCorey Richardson-1/+0
2013-05-10Remove the '<->' operator from the languageAlex Crichton-1/+0
2013-05-10auto merge of #6223 : alexcrichton/rust/issue-6183, r=pcwaltonbors-0/+83
Closes #6183. The first commit changes the compiler's method of treating a `for` loop, and all the remaining commits are just dealing with the fallout. The biggest fallout was the `IterBytes` trait, although it's really a whole lot nicer now because all of the `iter_bytes_XX` methods are just and-ed together. Sadly there was a huge amount of stuff that's `cfg(stage0)` gated, but whoever lands the next snapshot is going to have a lot of fun deleting all this code!
2013-05-10auto merge of #6329 : sonwow/rust/issue-6306, r=ILyoanbors-2/+2
Fix for #6306
2013-05-10syntax: Use the new `for` protocolAlex Crichton-0/+83
2013-05-10Move core::task::local_data to core::local_dataYoungsoo Son-2/+2