about summary refs log tree commit diff
path: root/src/test/run-pass/private-method.rs
AgeCommit message (Collapse)AuthorLines
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-1/+1
2013-02-26librustc: Implement a lint mode for mutable structures; deny by default. r=tjcPatrick Walton-8/+8
2013-02-01check-fast fallout from removing export, r=burningtreeGraydon Hoare-1/+1
2012-12-10Reliciense makefiles and testsuite. Yup.Graydon Hoare-0/+10
2012-09-11Remove priv sections from classes. Obsolete the syntaxBrian Anderson-3/+1
2012-09-10Convert class methods to impl methods. Stop parsing class methodsBrian Anderson-1/+6
2012-09-07Remove 'let' syntax for struct fieldsBrian Anderson-2/+2
2012-09-06Remove struct ctorsBrian Anderson-1/+7
2012-08-17Remove the class keywordBrian Anderson-1/+1
2012-07-01Convert to new closure syntaxBrian Anderson-1/+1
2012-05-26core: Make range follow the for loop protocolBrian Anderson-1/+1
2012-03-29Require "self" as base expression for intra-class method or field referencesTim Chevalier-2/+2
All field or method references within a class must begin with "self." now. A bare reference to a field or method in the same class will no longer typecheck.
2012-03-28Allow explicit self-calls within classesTim Chevalier-1/+1
Allow writing self.f() within a class that has a method f. In a future commit, this syntax will be required. For now, you can write either self.f() or f(). I added a "privacy" field to all methods (whether class methods or not), which allowed me to refactor the AST somewhat (getting rid of the class_item type; now there's just class_member).
2012-03-26Bulk-edit mutable -> mut.Graydon Hoare-1/+1
2012-03-26Enforce privacy declarations for class fields and methodsTim Chevalier-0/+19