8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 052e9b4 commit 6bdc2dcCopy full SHA for 6bdc2dc
compiler/rustc_borrowck/src/polonius/dump.rs
@@ -74,7 +74,7 @@ fn emit_polonius_dump<'tcx>(
74
// Section 1: the NLL + Polonius MIR.
75
writeln!(out, "<div>")?;
76
writeln!(out, "Raw MIR dump")?;
77
- writeln!(out, "<code><pre>")?;
+ writeln!(out, "<pre><code>")?;
78
emit_html_mir(
79
tcx,
80
body,
@@ -84,15 +84,15 @@ fn emit_polonius_dump<'tcx>(
84
closure_region_requirements,
85
out,
86
)?;
87
- writeln!(out, "</pre></code>")?;
+ writeln!(out, "</code></pre>")?;
88
writeln!(out, "</div>")?;
89
90
// Section 2: mermaid visualization of the CFG.
91
92
writeln!(out, "Control-flow graph")?;
93
- writeln!(out, "<code><pre class='mermaid'>")?;
+ writeln!(out, "<pre class='mermaid'>")?;
94
emit_mermaid_cfg(body, out)?;
95
+ writeln!(out, "</pre>")?;
96
97
98
// Section 3: mermaid visualization of the NLL region graph.
0 commit comments