librustc: allow destructuring of structs with destructors if the pattern has no moves.
This check only works for `match`s, the checks (incorrectly) do not run for patterns in `let`s.
Showing
src/test/run-pass/issue-6341.rs
0 → 100644
想要评论请 注册 或 登录