]> git.proxmox.com Git - rustc.git/blame - tests/mir-opt/const_prop/transmute.valid_char.ConstProp.diff
New upstream version 1.70.0+dfsg1
[rustc.git] / tests / mir-opt / const_prop / transmute.valid_char.ConstProp.diff
CommitLineData
353b0b11
FG
1- // MIR for `valid_char` before ConstProp
2+ // MIR for `valid_char` after ConstProp
3
4 fn valid_char() -> char {
5 let mut _0: char; // return place in scope 0 at $DIR/transmute.rs:+0:24: +0:28
6 scope 1 {
7 }
8
9 bb0: {
10- _0 = const 82_u32 as char (Transmute); // scope 1 at $DIR/transmute.rs:+1:14: +1:33
11+ _0 = const 'R'; // scope 1 at $DIR/transmute.rs:+1:14: +1:33
12 return; // scope 0 at $DIR/transmute.rs:+2:2: +2:2
13 }
14 }
15