diff options
| author | Scott Olson <scott@solson.me> | 2017-01-25 21:16:38 -0800 |
|---|---|---|
| committer | Scott Olson <scott@solson.me> | 2017-01-26 10:44:28 -0800 |
| commit | 8ad06af1311e7112d6f21709ba344d43867b547c (patch) | |
| tree | 770ec0e93dcabcc8041f39c11d3339bbcc3f52e9 /src/test/incremental/thinlto | |
| parent | c0d0e68be4f8bb9d8522bd72a7a1b8ef95b84c6c (diff) | |
| download | rust-8ad06af1311e7112d6f21709ba344d43867b547c.tar.gz rust-8ad06af1311e7112d6f21709ba344d43867b547c.zip | |
Avoid ICE when pretty-printing non-local MIR item.
This comes up when using `-Zunstable-options --unpretty=mir`. Previously, rustc would ICE due to an unwrap later in this function (after `as_local_node_id`). Instead, we should just ignore items from other crates when pretty-printing MIR.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
