fix oversight in ty_decode.

I thought this case would not come up.
This commit is contained in:
Niko Matsakis 2012-07-25 09:19:59 -07:00
parent cc8086a045
commit dc744e816d

View File

@ -133,6 +133,11 @@ fn parse_bound_region(st: @pstate) -> ty::bound_region {
's' { ty::br_self }
'a' { ty::br_anon }
'[' { ty::br_named(@parse_str(st, ']')) }
'c' {
let id = parse_int(st);
assert next(st) == '|';
ty::br_cap_avoid(id, @parse_bound_region(st))
}
}
}