Fix MIR text output for terminators since they were made optional.
This commit is contained in:
parent
25d1f4bc21
commit
8e293676ee
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ fn write_basic_block<W: Write>(block: BasicBlock, mir: &Mir, w: &mut W) -> io::R
|
|||
}
|
||||
|
||||
// Terminator at the bottom.
|
||||
try!(writeln!(w, "{0}{0}{1:?};", INDENT, data.terminator));
|
||||
try!(writeln!(w, "{0}{0}{1:?};", INDENT, data.terminator()));
|
||||
|
||||
writeln!(w, "{}}}", INDENT)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue