fix oversight in ty_decode.
I thought this case would not come up.
This commit is contained in:
parent
cc8086a045
commit
dc744e816d
@ -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))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user