mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
17386b8fbf
Fix incorrect mutable suggestion information for binding in ref pattern. For ref pattern in func param, the mutability suggestion has to apply to the binding. For example: `fn foo(&x: &i32)` -> `fn foo(&(mut x): &i32)` fixes #122415