diff options
| author | Jacob Pratt <jacob@jhpratt.dev> | 2024-04-02 20:37:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-02 20:37:39 -0400 |
| commit | e530b3d19c91e3e061828aabe5aababef5fc2717 (patch) | |
| tree | f78437b267d1691b68c7f184930888778b07ac96 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 11b28d44bd428cdb4c939e51b064426c4b73a293 (diff) | |
| parent | 4d623015e0c993aea542834b44fc4dd18b62483e (diff) | |
| download | rust-e530b3d19c91e3e061828aabe5aababef5fc2717.tar.gz rust-e530b3d19c91e3e061828aabe5aababef5fc2717.zip | |
Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=Amanieu
rename ptr::from_exposed_addr -> ptr::with_exposed_provenance As discussed on [Zulip](https://rust-lang.zulipchat.com/#narrow/stream/136281-t-opsem/topic/To.20expose.20or.20not.20to.20expose/near/427757066). The old name, `from_exposed_addr`, makes little sense as it's not the address that is exposed, it's the provenance. (`ptr.expose_addr()` stays unchanged as we haven't found a better option yet. The intended interpretation is "expose the provenance and return the address".) The new name nicely matches `ptr::without_provenance`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
