trait Trait: Send
: upcasting from dyn Trait
to dyn Send
does not work
#126313
Labels
C-bug
Category: This is a bug.
F-trait_upcasting
`#![feature(trait_upcasting)]`
T-types
Relevant to the types team, which will review and decide on the PR/issue.
The following compiles:
while this does not:
cc @compiler-errors I thought we actually had a PR for that at some point 🤔 I think that's actually not the case though. It wasn't part of #119338
The text was updated successfully, but these errors were encountered: