about summary refs log tree commit diff
path: root/tests/coverage/simple_loop.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-20 23:41:41 +0000
committerbors <bors@rust-lang.org>2025-08-20 23:41:41 +0000
commit125ff8a788c5d6a66917f499abdc00051afe6886 (patch)
tree7e8afec00afd8e5afd980cbb68c73d4b135ecbc6 /tests/coverage/simple_loop.rs
parent040a98af70f0a7da03f3d5356531b28a2a7a77e4 (diff)
parentdd151beeb6e3f5a42c8b3c4058cdd38c581ccc50 (diff)
downloadrust-125ff8a788c5d6a66917f499abdc00051afe6886.tar.gz
rust-125ff8a788c5d6a66917f499abdc00051afe6886.zip
Auto merge of #145259 - nikic:read-only-capture, r=wesleywiser
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.
Diffstat (limited to 'tests/coverage/simple_loop.rs')
0 files changed, 0 insertions, 0 deletions