mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

`&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.