Add a "var pattern" corresponding to deconstruction using a parenthesized designation.
We now forbid the use of `var` as a pattern's type except in the var pattern, where it is forbidden to bind to a user-declared type. Requires LDM and compat council review.
Showing
想要评论请 注册 或 登录