<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/tests/ui/pattern/patkind-ref-binding-issue-122415.rs, branch perf-tmp</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=perf-tmp'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2024-03-19T04:28:23+00:00</updated>
<entry>
<title>Fix incorrect mutable suggestion information for binding in ref pattern.</title>
<updated>2024-03-19T04:28:23+00:00</updated>
<author>
<name>surechen</name>
<email>chenshuo17@huawei.com</email>
</author>
<published>2024-03-18T06:44:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=19f72dfe04d030aba3885333156590d0b9191851'/>
<id>urn:sha1:19f72dfe04d030aba3885333156590d0b9191851</id>
<content type='text'>
For ref pattern in func param, the mutability suggestion has to apply to the binding.

For example: `fn foo(&amp;x: &amp;i32)` -&gt; `fn foo(&amp;(mut x): &amp;i32)`

fixes #122415
</content>
</entry>
</feed>
