about summary refs log tree commit diff
path: root/src/libsyntax/print/pprust.rs
AgeCommit message (Collapse)AuthorLines
2012-09-07Implement &-patternsTim Chevalier-0/+4
Closes #2855
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-21/+30
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-09-04Parse 'loop' and 'again' the sameBrian Anderson-1/+3
2012-09-04libsyntax: "import" -> "use"Patrick Walton-11/+9
2012-08-31rustc: Implement "use mod"Patrick Walton-6/+9
2012-08-31Fix anon-extern-mod pretty print test.Graydon Hoare-3/+5
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-3/+2
2012-08-29Allow extern mods to be anonymousTim Chevalier-1/+4
extern mod { f(); } is now allowed, and puts f in the enclosing scope. (Requires a link_name attribute to be really useful...)
2012-08-27Camel case various core constructorsBrian Anderson-3/+3
2012-08-26Camel case the option typeBrian Anderson-94/+94
2012-08-25libsyntax: Accept ',' to separate struct fields. Closes #3263.Patrick Walton-1/+1
2012-08-25rustc: Implement foreign constants.Patrick Walton-0/+8
This is needed for a lot of Apple libraries, as Apple tends to put a lot of globals in dynamic libraries.
2012-08-24Remove match checkTim Chevalier-2/+1
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-24extend liveness to treat bindings more like other variablesNiko Matsakis-1/+3
This results in a lot of warnings in rustc. I left them in because many are bugs and we should fix our code, but Graydon asked that I not touch every file in the codebase.
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-18/+22
2012-08-23Parenthesize unary move exprs in prettyprinterTim Chevalier-1/+6
Closes #3220
2012-08-23Pretty-print macros with `()` instead of `{}`.Paul Stansifer-6/+8
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-2/+2
2012-08-22Parse and typecheck moving out of enums (#2329)Ben Blum-0/+1
2012-08-22Merge find_linkage_attrs with find_linkage_metasTim Chevalier-6/+2
This gets rid of a gratuitous `match check`.
2012-08-22Change the log level to be an enum rather than an intTim Chevalier-4/+4
This allows for eliminating a match check.
2012-08-22intern identifiersPaul Stansifer-87/+92
2012-08-22Centralize ident interner generation.Paul Stansifer-5/+3
2012-08-17Make by-val explicit self actually work. Closes #2585.Michael Sullivan-6/+6
2012-08-17Pretty print explicit self types. Work on #2585.Michael Sullivan-17/+63
2012-08-15libsyntax: Fix wrong pretty printing of private fieldsPatrick Walton-4/+2
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-39/+23
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-3/+12
2012-08-15rustc: "as Trait" can now be written "as @Trait".Patrick Walton-7/+7
There is also code for ~Trait and &Trait, but these are currently (incorrectly) synonyms for "as @Trait" and "as &Trait".
2012-08-15Convert more core types to camel caseBrian Anderson-2/+2
2012-08-14Convert more core types to camel caseBrian Anderson-4/+4
2012-08-14syntax: fixing pretty printing of brackets in match armsDaniel Patterson-2/+15
2012-08-14More attempts at fixing .. breakage.Graydon Hoare-1/+0
2012-08-13libsyntax: Accept "1..3" as the preferred form of "1 to 3" in patternsPatrick Walton-1/+1
2012-08-13rustc: Make functional record and struct update use ".." instead of "with".Patrick Walton-2/+6
"with" is still accepted for backwards compatibility.
2012-08-11syntax: better formatting of closures in pretty printer and more verbose ↵Daniel Patterson-12/+56
debugging messages
2012-08-08syntax: Pretty print impls with new syntaxBrian Anderson-7/+8
2012-08-08Convert impls to new syntaxBrian Anderson-1/+1
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-33/+39
2012-08-08rustc: Do some plumbing work on nested enumsPatrick Walton-12/+19
2012-08-07rustc: Parse variant structs; add a trivial test casePatrick Walton-2/+5
2012-08-07rustc: Box struct_defsPatrick Walton-1/+1
2012-08-07Implement static typeclass methods. Closes #3132.Michael Sullivan-15/+35
2012-08-07libsyntax: Break struct definitions out of classes internally in a few more ↵Patrick Walton-70/+75
places
2012-08-07rustc: Split out struct bodies into a separate "struct_def" type in the ASTPatrick Walton-6/+6
2012-08-07rustc: Add stub support for struct variants to the ASTPatrick Walton-11/+26
2012-08-07syntax: Rename expr_alt to expr_matchBrian Anderson-1/+1
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-3/+3
Require comma separators for all expression types except the plain block
2012-08-06rustc: Parse and stub (broken) typechecking for bounded function typesPatrick Walton-3/+5