about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2012-10-24Make check & TidyMahmut Bulut-4/+3
2012-10-23Remove <- operator from the compilerTim Chevalier-76/+35
Yield an obsolete syntax error on things like "let foo <- bar;" and "foo <- bar;" r=brson Progress on #3466
2012-10-23 Remove uses of binary move in the compilerTim Chevalier-4/+4
2012-10-23Don't generate move-by-init in AST builderTim Chevalier-2/+8
2012-10-23rustc: Implement typechecking for simple monomorphic derivable traits on ↵Patrick Walton-22/+42
monomorphic types. r=brson
2012-10-23* Parsing sequence changedMahmut Bulut-11/+12
1- visibility parse 2- purity parse
2012-10-22Merge remote-tracking branch 'original/incoming' into incomingSimon BD-2496/+1692
2012-10-22Preliminary support for labeled break/continue for `loop`sTim Chevalier-1/+4
This patch adds preliminary middle-end support (liveness and trans) for breaks and `loop`s to `loop` constructs that have labels. while and for loops can't have labels yet. Progress on #2216
2012-10-22Simplify the AST representation of ty param boundsTim Chevalier-35/+21
Change ast::ty_param_bound so that all ty param bounds are represented as traits, with no special cases for Copy/Send/Owned/Const. typeck::collect generates the special cases. A consequence of this is that code using the #[no_core] attribute can't use the Copy kind/trait. Probably not a big deal? As a side effect, any user-defined traits that happen to be called Copy, etc. in the same module override the built-in Copy trait. r=nmatsakis Closes #2284
2012-10-20Parse and report obsolete fixed-length vector syntaxBrian Anderson-3/+77
2012-10-20...missed a merge marker on that last rebaseBen Striegel-1/+0
2012-10-20No longer parse old fixed-length vec sytnaxBen Striegel-38/+1
2012-10-20Remove old fixed-length vector syntaxBen Striegel-9/+5
2012-10-20libsyntax: adapt the pretty printer for the new fixed size array syntaxPhilipp Brüschweiler-2/+14
`[int]/5` -> `[int * 5]`
2012-10-18rustc: Implement intra-crate static methods on anonymous trait ↵Patrick Walton-29/+33
implementations. r=nmatsakis
2012-10-18Remove dead type definitionTim Chevalier-5/+1
2012-10-18libcore: minor code cleanup.Erick Tryzelaar-3/+1
This is minor and probably completely inconsequential to performance, but I find vec::map to be more clear than vec::each and a push.
2012-10-17libsyntax: refactor the parser to consider foreign items as itemsPhilipp Brüschweiler-26/+60
parse_item_or_view_item() would drop visibility if none of the conditions following it would hold. This was the case when parsing extern {} blocks, where the function was only used to parse view items, but discarded the visibility of the first not-view item.
2012-10-17Line lengthTim Chevalier-1/+2
2012-10-17word => word_spaceTim Chevalier-1/+1
2012-10-17remove duplicate visibility and fix indentationJyun-Yan You-11/+11
2012-10-17fix the indentation of foreign constantJyun-Yan You-0/+1
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-284/+282
2012-10-15Allow enum discriminator exprs to refer to declared constsTim Chevalier-0/+2
Also some work towards #3521 Closes #2428
2012-10-15libstd: make Serializer a trait-level typaramErick Tryzelaar-56/+136
2012-10-12Make moves explicit in libsyntaxTim Chevalier-2/+2
2012-10-12Add a colon, make an error message clearerTim Chevalier-1/+1
2012-10-12remove ctor from ast (take 2) (no review: just dead code removal)Niko Matsakis-148/+23
2012-10-12Use the Nth impl when translating a static method call, insteadNiko Matsakis-4/+7
of the 0th. 0th is only correct when there are no bound tps on the trait. Fixes #3741.
2012-10-12bump version to 0.5.Graydon Hoare-3/+3
2012-10-12Replace several common macros of the form #m[...] with m!(...)Kevin Cantu-18/+18
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
2012-10-11Update FIXME numberTim Chevalier-1/+1
2012-10-11Remove comment that is now falseTim Chevalier-1/+0
2012-10-11Update FIXME numbersTim Chevalier-2/+2
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-1/+1
Two separate changes that got intertwined (sorry): Make to_str pure. Closes #3691 In str, change functions like push_char to take an &mut str instead of an &str. Closes #3710
2012-10-09Merge pull request #3700 from erickt/cargo-internerTim Chevalier-21/+26
allow interner cache to be shared across parsers (#3699)
2012-10-08Revert "Revert "Remove old auto_serialize2 code (needs snapshot)""Tim Chevalier-1233/+2
This reverts commit a33535e441dc5461fec0489069a1491367ad1c91.
2012-10-08Revert "Remove old auto_serialize2 code (needs snapshot)"Tim Chevalier-2/+1233
This reverts commit 0bd6da8a8c93143325cb45e8a074ccf7121ca168.
2012-10-08allow interner cache to be shared across parsers (#3699)Erick Tryzelaar-21/+26
2012-10-08remove ctor from astNiko Matsakis-148/+23
2012-10-07Remove old auto_serialize2 code (needs snapshot)Erick Tryzelaar-1233/+2
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-847/+1152
2012-10-07remove the old auto_serialize syntax extensionErick Tryzelaar-108/+146
2012-10-07migrate libsyntax/rustc to auto_serialize2Erick Tryzelaar-164/+219
2012-10-06Merge remote-tracking branch 'original/incoming' into incomingSimon BD-44/+43
2012-10-05Remove by-mutable-ref mode from the compilerTim Chevalier-8/+13
and test cases. Closes #3513
2012-10-05Finally removing all uses of by-mut-refTim Chevalier-1/+2
The code for the mode itself is still there.
2012-10-05Remove uses of mutable ref mode.Tim Chevalier-22/+24
It's still in the compiler right now, but warned about
2012-10-05Revert "wip"Tim Chevalier-27/+26
This reverts commit ca49fd402af8e7bf613c43e996274b5a017958d2.
2012-10-05wipTim Chevalier-26/+27