Closed Y-Nak closed 6 months ago
This PR restricts
mut
Path
Hir::Pat::Path
The main reason for the change was that I hesitated to make all HIR pattern kinds include mutability flags.
This PR restricts
mut
keyword occurrence in a pattern only beforePath
,Hir::Pat::Path
to indicate the mutability of the path.The main reason for the change was that I hesitated to make all HIR pattern kinds include mutability flags.