Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid ICE when pretty-printing non-local MIR item. #39311

Merged
merged 1 commit into from
Jan 28, 2017
Merged

Avoid ICE when pretty-printing non-local MIR item. #39311

merged 1 commit into from
Jan 28, 2017

Commits on Jan 26, 2017

  1. 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.
    solson committed Jan 26, 2017
    Configuration menu
    Copy the full SHA
    8ad06af View commit details
    Browse the repository at this point in the history