mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-05 07:26:48 +00:00
This is necessary for closure captures in 2021 edition, as they capture individual fields, not the full mentioned variables. So it may try to capture a field of an opaque (because the hidden type is known to be something with a field).