prevent regions from escaping in ifaces; remove &r.T syntax

This commit is contained in:
Niko Matsakis 2012-07-18 11:01:54 -07:00
parent eb0a34c398
commit e0ea67a2a6
36 changed files with 411 additions and 130 deletions

View file

@ -345,7 +345,7 @@ fn print_type_ex(s: ps, &&ty: @ast::ty, print_colons: bool) {
ast::ty_rptr(region, mt) {
alt region.node {
ast::re_anon { word(s.s, ~"&"); }
_ { print_region(s, region); word(s.s, ~"."); }
_ { print_region(s, region); word(s.s, ~"/"); }
}
print_mt(s, mt);
}