]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mir/issue-67947.rs
Merge commit 'e18101137866b79045fee0ef996e696e68c920b4' into clippyup
[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() {}