mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 07:44:10 +00:00
a277c901d9
This also remove safety information from MIR.
14 lines
305 B
Diff
14 lines
305 B
Diff
- // MIR for `invalid_bool` before DataflowConstProp
|
|
+ // MIR for `invalid_bool` after DataflowConstProp
|
|
|
|
fn invalid_bool() -> bool {
|
|
let mut _0: bool;
|
|
|
|
bb0: {
|
|
- _0 = const -1_i8 as bool (Transmute);
|
|
+ _0 = const {transmute(0xff): bool};
|
|
return;
|
|
}
|
|
}
|
|
|