syntax: desugar a `for` loop to a let binding to get better error
messages when the pattern is refutable. This means the compiler points directly to the pattern and said that the problem is the pattern being refutable (rather than just saying that some value isn't covered in the `match` as it did previously). Fixes #14390.
Showing
想要评论请 注册 或 登录