mirror of https://github.com/rust-lang/rust.git
Fix missing case in ty.
This commit is contained in:
parent
bc21965c98
commit
3a920e7ca8
|
@ -247,6 +247,11 @@ fn ty_to_str(&@t typ) -> str {
|
|||
s = "<T" + util.common.istr(v) + ">";
|
||||
}
|
||||
|
||||
case (ty_local(?id)) {
|
||||
s = "<L" + util.common.istr(id._0) + ":" + util.common.istr(id._1)
|
||||
+ ">";
|
||||
}
|
||||
|
||||
case (ty_param(?id)) {
|
||||
s = "<P" + util.common.istr(id._0) + ":" + util.common.istr(id._1)
|
||||
+ ">";
|
||||
|
|
Loading…
Reference in New Issue