summaryrefslogtreecommitdiff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-04-09 02:41:58 +0000
committerbors <bors@rust-lang.org>2023-04-09 02:41:58 +0000
commit0030465bcca71903c800df4a13046bcc91a9400f (patch)
tree15682cb4aa737013bba228b71a628fbd995c92d2 /tests/rustdoc-js-std/parser-errors.js
parentf8ed97ecc11a7d8cd392607ed5a4f6592496c880 (diff)
parent920c51c5265833b1a587ad9206e271f49564e2cc (diff)
downloadrust-0030465bcca71903c800df4a13046bcc91a9400f.tar.gz
Auto merge of #109413 - compiler-errors:pointer-like-abi, r=cjgillot
Enforce that `PointerLike` requires a pointer-like ABI At least temporarily, let's ban coercing things that are pointer-sized and pointer-aligned but *not* `Abi::Scalar(..)` into `dyn*`. See: https://github.com/rust-lang/rust/pull/104694#discussion_r1142522073 This can be lifted in the future if we decie that we *want* to be able to coerce something `repr(C)` into a `dyn*`, but we'll have to figure out what to do with Miri and codegen... r? compiler
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions