rust/compiler/rustc_trait_selection
Matthias Krüger b43c2e7cd9
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.
2022-11-24 08:42:34 +01:00
..
src Rollup merge of #104594 - compiler-errors:dyn-star-rcvr, r=eholk,estebank 2022-11-24 08:42:34 +01:00
Cargo.toml Remove from compiler/ crates 2022-09-29 16:49:04 +09:00