Skip to content

Commit ffc52a7

Browse files
Update example table to match current output
1 parent 1611238 commit ffc52a7

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

src/librustc_mir/dataflow/generic/graphviz.rs

+19-19
Original file line numberDiff line numberDiff line change
@@ -165,25 +165,25 @@ where
165165
block: BasicBlock,
166166
) -> io::Result<()> {
167167
// Sample output:
168-
// +-+--------------------------------------------------+
169-
// A | bb4 |
170-
// +-+----------------------------------+---------------+
171-
// B | MIR | STATE |
172-
// +-+----------------------------------+---------------+
173-
// C | | (on entry) | {_0,_2,_3} |
174-
// +-+----------------------------------+---------------+
175-
// D |0| 0: StorageLive(_7) | |
176-
// +-+----------------------------------+---------------+
177-
// |1| 1: StorageLive(_8) | |
178-
// +-+----------------------------------+---------------+
179-
// |2| 2: _8 = &mut _1 | +_8 |
180-
// +-+----------------------------------+---------------+
181-
// E |T| _7 = const Foo::twiddle(move _8) | -_8 |
182-
// +-+----------------------------------+---------------+
183-
// F | | (on unwind) | {_0,_2,_3,_7} |
184-
// +-+----------------------------------+---------------+
185-
// | | (on successful return) | +_7 |
186-
// +-+----------------------------------+---------------+
168+
// +-+-----------------------------------------------+
169+
// A | bb4 |
170+
// +-+----------------------------------+------------+
171+
// B | MIR | STATE |
172+
// +-+----------------------------------+------------+
173+
// C | | (on entry) | {_0,_2,_3} |
174+
// +-+----------------------------------+------------+
175+
// D |0| StorageLive(_7) | |
176+
// +-+----------------------------------+------------+
177+
// |1| StorageLive(_8) | |
178+
// +-+----------------------------------+------------+
179+
// |2| _8 = &mut _1 | +_8 |
180+
// +-+----------------------------------+------------+
181+
// E |T| _4 = const Foo::twiddle(move _2) | -_2 |
182+
// +-+----------------------------------+------------+
183+
// F | | (on unwind) | {_0,_3,_8} |
184+
// +-+----------------------------------+------------+
185+
// | | (on successful return) | +_4 |
186+
// +-+----------------------------------+------------+
187187

188188
write!(
189189
w,

0 commit comments

Comments
 (0)