Actually create ranged int types in the type system.
This commit is contained in:
parent
6b24a9cf70
commit
84acfe86de
97 changed files with 1208 additions and 77 deletions
|
@ -202,6 +202,16 @@ fn push_debuginfo_type_name<'tcx>(
|
|||
}
|
||||
}
|
||||
}
|
||||
ty::Pat(inner_type, pat) => {
|
||||
if cpp_like_debuginfo {
|
||||
output.push_str("pat$<");
|
||||
push_debuginfo_type_name(tcx, inner_type, true, output, visited);
|
||||
// FIXME(wg-debugging): implement CPP like printing for patterns.
|
||||
write!(output, ",{:?}>", pat).unwrap();
|
||||
} else {
|
||||
write!(output, "{:?}", t).unwrap();
|
||||
}
|
||||
}
|
||||
ty::Slice(inner_type) => {
|
||||
if cpp_like_debuginfo {
|
||||
output.push_str("slice2$<");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue