Skip to content
Permalink
Browse files

Break cycle during array length printing

  • Loading branch information...
oli-obk committed May 3, 2019
1 parent 89b2fb6 commit 52fa900d62753aca4354f9c6b7a426a80bc7bc62
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/librustc/ty/print/pretty.rs
@@ -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("]"))
}

0 comments on commit 52fa900

Please sign in to comment.
You can’t perform that action at this time.