]> git.lizzy.rs Git - rust.git/commit - compiler/rustc_codegen_cranelift/src/driver/jit.rs
Rollup merge of #105682 - thomcc:expose-ptr-fmt, r=RalfJung
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>
Mon, 19 Dec 2022 09:11:34 +0000 (14:41 +0530)
committerGitHub <noreply@github.com>
Mon, 19 Dec 2022 09:11:34 +0000 (14:41 +0530)
commitf74bcfbdb1fa2b2c3904f2f24f0c8ddb3c00b5c6
treedbc17630a5498f6c2c4102cd60ba45a8d404d3bf
parent224fa3907e319405fdabdb06c33f99b896754773
parentf2d03667914528a672c476b3718b0a0ead0736da
Rollup merge of #105682 - thomcc:expose-ptr-fmt, r=RalfJung

Use `expose_addr()` in `fmt::Pointer`

Discussion in https://rust-lang.zulipchat.com/#narrow/stream/136281-t-lang.2Fwg-unsafe-code-guidelines/topic/Should.20.60fmt.3A.3APointer.60.20expose.20the.20argument.3F on whether or not we should do this (still undecided).

CC `@RalfJung`
library/core/src/fmt/mod.rs