]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #106095 - estebank:pin-mut-reborrow, r=compiler-errors
authorbors <bors@rust-lang.org>
Tue, 27 Dec 2022 07:31:42 +0000 (07:31 +0000)
committerbors <bors@rust-lang.org>
Tue, 27 Dec 2022 07:31:42 +0000 (07:31 +0000)
Suggest `Pin::as_mut` when encountering borrow error

Fix #65409 for `Pin<&mut T>`.

1  2 
compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs