mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-12 18:07:40 +00:00
14 lines
326 B
Diff
14 lines
326 B
Diff
![]() |
- // MIR for `strs` before InstSimplify-after-simplifycfg
|
||
|
+ // MIR for `strs` after InstSimplify-after-simplifycfg
|
||
|
|
||
|
fn strs() -> [&str; 5] {
|
||
|
let mut _0: [&str; 5];
|
||
|
|
||
|
bb0: {
|
||
|
- _0 = [const "a", const "a", const "a", const "a", const "a"];
|
||
|
+ _0 = [const "a"; 5];
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
|