提交 56343cd6 编写于 作者: S Scott Olson

Add 'mut' to temporary vars in MIR graphviz output.

上级 31578f5b
......@@ -117,7 +117,7 @@ fn write_graph_label<W: Write>(mir: &Mir, w: &mut W) -> io::Result<()> {
// Compiler-introduced temporary types.
for (i, temp) in mir.temp_decls.iter().enumerate() {
try!(write!(w, r#"let {:?}: {};<br align="left"/>"#,
try!(write!(w, r#"let mut {:?}: {};<br align="left"/>"#,
Lvalue::Temp(i as u32), escape(&temp.ty)));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册