summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-24 17:14:26 +0000
committerbors <bors@rust-lang.org>2022-12-24 17:14:26 +0000
commit7e4f4660ebb4533de629b5d7d8ac10ed572d0f2e (patch)
tree569d4852433db40daf93edd422fb69e65536874b /tests/rustdoc-js-std/parser-errors.js
parentf5c3dfdbbf06d5997079ac7339de5002f7ced2a3 (diff)
parent15f72dd29d083bfcade93ec2b57350c2b37feed6 (diff)
downloadrust-7e4f4660ebb4533de629b5d7d8ac10ed572d0f2e.tar.gz
Auto merge of #104977 - RalfJung:ptr-from-ref, r=dtolnay
add ptr::from_{ref,mut} We have methods to avoid almost all `as` casts around raw pointer handling, except for the initial cast from reference to raw pointer. These new methods close that gap. (I also moved `null_mut` next to `null` to keep the file consistently organized.) r? libs-api Tracking issue: https://github.com/rust-lang/rust/issues/106116
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions