mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
d71ed8d19b
`&Freeze` parameters are not only `readonly` within the function, but any captures of the pointer can also only be used for reads. This can now be encoded using the `captures(address, read_provenance)` attribute.