Break cycle during array length printing
This commit is contained in:
parent
89b2fb631a
commit
52fa900d62
|
@ -669,7 +669,7 @@ pub trait PrettyPrinter<'gcx: 'tcx, 'tcx>:
|
||||||
if let Some(n) = sz.assert_usize(self.tcx()) {
|
if let Some(n) = sz.assert_usize(self.tcx()) {
|
||||||
p!(write("{}", n));
|
p!(write("{}", n));
|
||||||
} else {
|
} else {
|
||||||
p!(print(sz));
|
p!(write("_"));
|
||||||
}
|
}
|
||||||
p!(write("]"))
|
p!(write("]"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue