about summary refs log tree commit diff
path: root/src/test/compile-fail/mutable-class-fields-2.rs
AgeCommit message (Collapse)AuthorLines
2018-08-14Moved compile-fail tests to ui tests.David Wood-34/+0
2015-03-05Remove integer suffixes where the types in compiled code are identical.Eduard Burtescu-1/+1
2015-02-18Update suffixes en masse in tests using `perl -p -i -e`Niko Matsakis-1/+1
2015-01-08Update compile-fail tests to use is/us, not i/u.Huon Wilson-1/+1
2015-01-08Update compile fail tests to use usize.Huon Wilson-2/+2
2015-01-08Update compile fail tests to use isize.Huon Wilson-2/+2
2014-01-26Fix privacy fallout from previous changeAlex Crichton-1/+1
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-2/+2
2013-05-29librustc: Stop reexporting the standard modules from prelude.Patrick Walton-1/+1
2013-04-30new borrow checker (mass squash)Niko Matsakis-2/+1
2013-03-13librustc: Remove implicit self from the language, except for old-style drop ↵Patrick Walton-1/+1
blocks.
2013-02-28librustc: Mark all type implementations public. rs=impl-publicityPatrick Walton-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-0/+2
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-3/+3
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/+19
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).