about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-11-24 08:42:34 +0100
committerGitHub <noreply@github.com>2022-11-24 08:42:34 +0100
commitb43c2e7cd9ffd4f7249adfd09f6df841ed902924 (patch)
tree9abbbc85714e882ba697a6e8a29fa1861ac50930 /compiler/rustc_codegen_llvm/src
parent1e0df8827b575c2910fae7edd1f920723cb3ee81 (diff)
parentb60b76c9dd3ed9bad4db48e80f084353d42c6728 (diff)
downloadrust-b43c2e7cd9ffd4f7249adfd09f6df841ed902924.tar.gz
rust-b43c2e7cd9ffd4f7249adfd09f6df841ed902924.zip
Rollup merge of #104594 - compiler-errors:dyn-star-rcvr, r=eholk,estebank
Properly handle `Pin<&mut dyn* Trait>` receiver in codegen

This ensures we can actually await a `dyn* Future`, which seems important for async fn in dyn trait.

Also, disable `dyn*` trait upcasting. It's not exactly complete right now, and can cause strange ICEs for no reason -- nobody's using it either. I thought it was cute to implement when I did it, but I didn't think about how it interacts structurally with `CoerceUnsized` correctly.

Fixes #104794, presumably removing `dyn*` upcasting and its `CoerceUnsized` issues does the trick.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions