mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-14 16:03:17 +00:00
![]() 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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |