mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-20 11:37:32 +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:
|
||
---|---|---|
.. | ||
const_eval | ||
interpret | ||
transform | ||
util | ||
errors.rs | ||
lib.rs |