Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rollup merge of rust-lang#126314 - lcnr:fix-relnotes, r=pietroalbini fix RELEASES: we do not support upcasting to auto traits rust-lang#119338 does not actually support casts from `dyn Trait` to `dyn Auto`, only from `dyn Trait` to `dyn Trait + Auto`. The following test does not compile ```rust trait Trait: Send {} impl<T: Send> Trait for T {} fn foo() { let x: &i32 = &1; let y = x as &dyn Trait as &dyn Send; } ``` it actually also doesn't compile with `feature(trait_upcasting)`, opened rust-lang#126313 for that r? `@Mark-Simulacrum` `@cuviper`
- Loading branch information