summary refs log tree commit diff
path: root/src/test/compile-fail/mutable-class-fields.rs
AgeCommit message (Collapse)AuthorLines
2014-01-26Fix privacy fallout from previous changeAlex Crichton-1/+1
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-1/+1
2013-04-30new borrow checker (mass squash)Niko Matsakis-4/+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-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-04-21syntax: Eliminate 'mutable' keyword. Closes #2254Brian Anderson-1/+1
2012-03-29Require "self" as base expression for intra-class method or field referencesTim Chevalier-1/+1
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-27Enforce mutability declarations in classes; correct shapes for classesTim Chevalier-0/+15
1. Enforce mutability declarations on class fields. Don't allow any mutation of class fields not declared as mutable (except inside the constructor). 2. Handle classes correctly in shape (treat classes like records).