-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
$ MIRI_SYSROOT=/home/bjorn/.cache/miri/HOST cargo run -- core mir "DefId(1/0:20381 ~ core[eddd]::char[0]::convert[0]::{{impl}}[9]::fmt[0])"
Finished dev [unoptimized + debuginfo] target(s) in 0.04s
Running `target/debug/rlib_view core mir 'DefId(1/0:20381 ~ core[eddd]::char[0]::convert[0]::{{impl}}[9]::fmt[0])'`
Reading rlib core
Rust args: ["core", "/some_nonexistent_dummy_path", "--sysroot", "/home/bjorn/.cache/miri/HOST", "-Cpanic=abort"]
error: `#[panic_handler]` function required, but not found
mir for <core::char::ParseCharError as core::fmt::Debug>::fmt:
[...]
StorageLive(_4); // bb0[5]: scope 1 at /some_nonexistent_dummy_path:1:1: 1:1
[...]
StorageDead(_7); // bb1[3]: scope 1 at /some_nonexistent_dummy_path:1:1: 1:1
[...]
Metadata
Metadata
Assignees
Labels
A-MIRArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlArea: Mid-level IR (MIR) - https://blog.rust-lang.org/2016/04/19/MIR.htmlC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.