]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mir/issue-67947.rs
Rollup merge of #102187 - b-naber:inline-const-source-info, r=eholk
[rust.git] / src / test / 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() {}