rust
rust copied to clipboard
Allow dropping dyn principal
Revival of #126660, which was a revival of #114679. Fixes #126313.
Allows dropping principal when coercing trait objects, e.g. dyn Debug + Send -> dyn Send.
cc @compiler-errors @Jules-Bertholet
r? @lcnr
Some changes occurred in compiler/rustc_codegen_cranelift
cc @bjorn3
The Miri subtree was changed
cc @rust-lang/miri
r=me after ci passes, unless you want a review from lcnr specifically
@bors r=compiler-errors
:pushpin: Commit c4bce0b8b13f2ae39bfd01e55bf98a556b2d703f has been approved by compiler-errors
It is now in the queue for this repository.