Rollup merge of #66988 - osa1:issue66985, r=matthewjasper

Fix angle bracket formatting when dumping MIR debug vars

Fixes #66985
This commit is contained in:
Yuki Okushi 2019-12-07 00:09:55 +09:00 committed by GitHub
commit 7249af0c7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -202,7 +202,7 @@ fn write_graph_label<'tcx, W: Write>(
}
for var_debug_info in &body.var_debug_info {
write!(w, r#"debug {} => {};<br align="left"/>"#,
write!(w, r#"debug {} =&gt; {};<br align="left"/>"#,
var_debug_info.name, escape(&var_debug_info.place))?;
}