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()) {
|
||||
p!(write("{}", n));
|
||||
} else {
|
||||
p!(print(sz));
|
||||
p!(write("_"));
|
||||
}
|
||||
p!(write("]"))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue