]> git.lizzy.rs Git - rust.git/blob - tests/ui/mir/issue-67947.rs
Rollup merge of #106707 - ehuss:remove-dupe-sha-1, r=Mark-Simulacrum
[rust.git] / tests / ui / mir / issue-67947.rs
1 struct Bug {
2     A: [(); { *"" }.len()],
3     //~^ ERROR: cannot move a value of type `str`
4     //~| ERROR: cannot move out of a shared reference
5 }
6
7 fn main() {}