diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-19 18:03:51 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-19 18:03:51 +0100 |
| commit | 17386b8fbfa876c1dc4355d7d166c5567974825b (patch) | |
| tree | 6dcf123a873a99f3a4a773c592d477744cb81256 /compiler/rustc_mir_transform/src/coverage/counters.rs | |
| parent | 42dec6f874c81fd1a6c72f05a8dc439916669bc7 (diff) | |
| parent | 19f72dfe04d030aba3885333156590d0b9191851 (diff) | |
| download | rust-17386b8fbfa876c1dc4355d7d166c5567974825b.tar.gz rust-17386b8fbfa876c1dc4355d7d166c5567974825b.zip | |
Rollup merge of #122677 - surechen:fix_122415, r=Nadrieril
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
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions
