mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-02 10:18:25 +00:00
18 lines
424 B
Diff
18 lines
424 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;
|
|
}
|
|
}
|
|
|
|
ALLOC0 (size: 1, align: 1) {
|
|
61 │ a
|
|
}
|
|
|