prevent regions from escaping in ifaces; remove &r.T syntax
This commit is contained in:
parent
eb0a34c398
commit
e0ea67a2a6
36 changed files with 411 additions and 130 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue