mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 04:27:38 +00:00
![]() generator layout: ignore fake borrows
fixes #117059
We emit fake shallow borrows in case the scrutinee place uses a `Deref` and there is a match guard. This is necessary to prevent the match guard from mutating the scrutinee:
|
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |