rust/compiler/stable_mir/src
Jacob Pratt e9ef8e1efa
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`.
2024-04-02 20:37:39 -04:00
..
mir Rollup merge of #122935 - RalfJung:with-exposed-provenance, r=Amanieu 2024-04-02 20:37:39 -04:00
abi.rs Fix StableMIR is_full computation 2024-03-13 00:36:54 -07:00
compiler_interface.rs s/place_debug/place_pretty in SMIR 2024-03-20 18:02:11 -07:00
crate_def.rs Improve documentation and fix the fixme comment 2023-11-23 12:29:20 -08:00
error.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
lib.rs Improve emit stable mir body 2024-03-20 15:55:35 -07:00
mir.rs Add support to global allocation to stable-mir 2023-11-21 19:16:53 -08:00
target.rs Update target.rs alloc.rs event.rs simd.rs 2024-03-20 17:07:15 +01:00
ty.rs Normalize the result of Fields::ty_with_args 2024-03-28 13:22:10 -07:00
visitor.rs Restore movability to SMIR 2023-12-28 16:35:01 +00:00