about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/mod.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-08 00:38:35 +0100
committerGitHub <noreply@github.com>2024-01-08 00:38:35 +0100
commit26768609fb115a9acbfedc50d25335bcd9b118e2 (patch)
treef63e4c7112dd4b1e76f3d4c943b52bf15be8b203 /compiler/rustc_mir_transform/src/coverage/mod.rs
parent39b3ef17a1242459f1d3e3c6aff4b789c21bcf68 (diff)
parent68bb76634d916a5ea692f0a6bfae359e7ff556ab (diff)
downloadrust-26768609fb115a9acbfedc50d25335bcd9b118e2.tar.gz
rust-26768609fb115a9acbfedc50d25335bcd9b118e2.zip
Rollup merge of #119708 - compiler-errors:pointer-like, r=Nilstrieb
Unions are not `PointerLike`

I introduced the `PointerLike` trait to enforce `dyn*` coercions only from types that share the same ABI as a pointer. On top of needing to be scalar, they also should not be unions, since CTFE chokes on scalar reads for union types.

Fixes #119695
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions