librustc: Implement "&mut [T]" as an expression. r=brson

This commit is contained in:
Patrick Walton
2012-12-07 16:26:52 -08:00
parent 87f3ea7705
commit ab3b752906
8 changed files with 23 additions and 6 deletions

View File

@@ -441,7 +441,8 @@ enum expr_vstore {
expr_vstore_uniq, // ~[1,2,3,4]
expr_vstore_box, // @[1,2,3,4]
expr_vstore_mut_box, // @mut [1,2,3,4]
expr_vstore_slice // &[1,2,3,4]
expr_vstore_slice, // &[1,2,3,4]
expr_vstore_mut_slice, // &mut [1,2,3,4]
}
pure fn is_blockish(p: ast::Proto) -> bool {