about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/mod.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2021-04-22 18:14:42 +0200
committerGitHub <noreply@github.com>2021-04-22 18:14:42 +0200
commitf180c1e05de9729bd34716418e6adce6e9f649f1 (patch)
tree4febc65e428e9413ff0586054e3205391276d6e1 /compiler/rustc_mir/src/transform/coverage/mod.rs
parentaac5125da4c8f06de57ab89985a5fc204c122483 (diff)
parent75732dd00e845ed27e6a482db965e673805d85a9 (diff)
downloadrust-f180c1e05de9729bd34716418e6adce6e9f649f1.tar.gz
rust-f180c1e05de9729bd34716418e6adce6e9f649f1.zip
Rollup merge of #84404 - tmiasko:intrinsics-in-coercion-lub, r=Mark-Simulacrum
Check for intrinsics before coercing to a function pointer

Return an error if coercing function items / non-capturing closures
to a common function pointer type would require reifying an intrinsic.

Turns ICE reported in #84297 into a proper error.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/mod.rs')
0 files changed, 0 insertions, 0 deletions