about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-05-29 01:12:33 +0200
committerGitHub <noreply@github.com>2022-05-29 01:12:33 +0200
commit774d7ced10b30c480c63a8124f38bcf2f3d66464 (patch)
tree4f5f4fc8d8e0d086ef04f7468877d45d400127c7 /compiler/rustc_codegen_gcc
parent37bac9cacbd4811b1e385ce2d6aab8b9a26bd07d (diff)
parent852777eff12bfc99b355e7c9ddd803d11cd795aa (diff)
downloadrust-774d7ced10b30c480c63a8124f38bcf2f3d66464.tar.gz
rust-774d7ced10b30c480c63a8124f38bcf2f3d66464.zip
Rollup merge of #97482 - RalfJung:ptr-invalid, r=thomcc
ptr::invalid is not equivalent to a int2ptr cast

I just realized I forgot to update these docs when adding `from_exposed_addr`.
Right now the docs say `invalid` and `from_exposed_addr` are both equivalent to a cast, and that is clearly not what we want.

Cc ``@Gankra``
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions