mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-02 15:56:09 +03:00
125ff8a788
Tell LLVM about read-only captures `&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.