Break cycle during array length printing

This commit is contained in:
Oliver Scherer 2019-05-03 10:59:04 +02:00
parent 89b2fb631a
commit 52fa900d62
1 changed files with 1 additions and 1 deletions

View File

@ -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("]"))
}