rust/src/rustc/middle
Tim Chevalier edb747ceed Enforce mutability declarations in classes; correct shapes for classes
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).
2012-03-27 22:11:58 -07:00
..
trans Enforce mutability declarations in classes; correct shapes for classes 2012-03-27 22:11:58 -07:00
tstate Support an alternate for syntax that calls a higher-order function 2012-03-27 09:27:31 +02:00
alias.rs Emergency safe-ref-checker maintenance 2012-03-27 17:22:57 +02:00
ast_map.rs Bulk-edit mutable -> mut. 2012-03-26 18:35:18 -07:00
block_use.rs Support an alternate for syntax that calls a higher-order function 2012-03-27 09:27:31 +02:00
capture.rs add mut decls to rustc and make them mandatory 2012-03-21 21:04:14 -07:00
check_alt.rs Bulk-edit mutable -> mut. 2012-03-26 18:35:18 -07:00
check_const.rs Add crude support for casts in constant expressions 2012-03-14 18:05:28 +01:00
check_loop.rs Support returning from loop blocks 2012-03-27 12:33:13 +02:00
const_eval.rs rustc: Move eval_const_expr to its own mod 2012-03-26 17:16:26 -07:00
fn_usage.rs stdlib: Stop incurring vtable dispatch costs when hashmaps are used 2012-03-07 17:35:13 -08:00
freevars.rs Bulk-edit mutable -> mut. 2012-03-26 18:35:18 -07:00
infer.rs Bulk-edit mutable -> mut. 2012-03-26 18:35:18 -07:00
kind.rs add mut decls to rustc and make them mandatory 2012-03-21 21:04:14 -07:00
last_use.rs Bulk-edit mutable -> mut. 2012-03-26 18:35:18 -07:00
lint.rs Remove last vestiges of old-style intrinsics 2012-03-23 16:08:01 +01:00
mutbl.rs Enforce mutability declarations in classes; correct shapes for classes 2012-03-27 22:11:58 -07:00
pat_util.rs add mut decls to rustc and make them mandatory 2012-03-21 21:04:14 -07:00
region.rs rustc: Combine and unify regions 2012-03-26 15:07:15 -07:00
regionck.rs rustc: Redo region inference to be a bit less broken 2012-03-23 12:22:58 -07:00
resolve.rs Bulk-edit mutable -> mut. 2012-03-26 18:35:18 -07:00
ty.rs Enforce mutability declarations in classes; correct shapes for classes 2012-03-27 22:11:58 -07:00
typeck.rs Support returning from loop blocks 2012-03-27 12:33:13 +02:00