Skip to content

Commit

Permalink
Break cycle during array length printing
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed May 25, 2019
1 parent 89b2fb6 commit 52fa900
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc/ty/print/pretty.rs
Expand Up @@ -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("]"))
}
Expand Down

0 comments on commit 52fa900

Please sign in to comment.