]> git.lizzy.rs Git - rust.git/commit
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)
commit0ca50032ce7271ebbe6f4e3f766c686f6204116c
treee9e5f95818ca272756e9ed22ba24a61b3727d75b
parente3961864075eaa9e855e5eec6b4f148029684539
parent8a13a7c14874147621e5344e3f31aaed39d390f5
Auto merge of #106095 - estebank:pin-mut-reborrow, r=compiler-errors

Suggest `Pin::as_mut` when encountering borrow error

Fix #65409 for `Pin<&mut T>`.
compiler/rustc_borrowck/src/diagnostics/conflict_errors.rs