rust
rust copied to clipboard
Mention `as_mut` alongside `as_ref` in borrowck error message
Kinda fixes #99426 but I guess that really might be better staying open to see if we could make it suggest as_mut
in a structured way. Not sure how to change borrowck to know that info tho.
r? @fee1-dead
(rust-highfive has picked a reviewer for you, use r? to override)
@bors r+
:pushpin: Commit e37565d2db8d7cf92a6d1df535343d4b2881fc35 has been approved by fee1-dead
It is now in the queue for this repository.
@bors rollup