make mut a keyword synonymous with mutable

first step towards issue #1273
This commit is contained in:
Niko Matsakis 2012-02-15 11:25:39 -08:00
parent dddd9908d5
commit bfff2a8d55
29 changed files with 224 additions and 206 deletions

View file

@ -483,28 +483,28 @@ impl ast_output for ast_ctxt {
self.tag(at_ty_bot) {||}
}
ty_box({ty: ty, mut: m}) {
ty_box({ty: ty, mutbl: m}) {
self.tag(at_ty_box) {||
self.ty(ty);
self.mutbl(m);
}
}
ty_uniq({ty: ty, mut: m}) {
ty_uniq({ty: ty, mutbl: m}) {
self.tag(at_ty_uniq) {||
self.ty(ty);
self.mutbl(m);
}
}
ty_vec({ty: ty, mut: m}) {
ty_vec({ty: ty, mutbl: m}) {
self.tag(at_ty_vec) {||
self.ty(ty);
self.mutbl(m);
}
}
ty_ptr({ty: ty, mut: m}) {
ty_ptr({ty: ty, mutbl: m}) {
self.tag(at_ty_ptr) {||
self.ty(ty);
self.mutbl(m);