diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-09 10:34:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-09 10:34:46 +0100 |
| commit | 84c2050bf63f734246572345aedca9edb2abe96e (patch) | |
| tree | a01f9e406072688de35322083ca22191e29e5082 /compiler/rustc_pattern_analysis/src | |
| parent | a96fa317d78c78a9de996afd317603c6970efc0d (diff) | |
| parent | 80157a560f3b139e0209d358ef275a84bccd99ed (diff) | |
| download | rust-84c2050bf63f734246572345aedca9edb2abe96e.tar.gz rust-84c2050bf63f734246572345aedca9edb2abe96e.zip | |
Rollup merge of #136127 - WaffleLapkin:dyn_ptr_unwrap_cast, r=compiler-errors
Allow `*const W<dyn A> -> *const dyn A` ptr cast Followup of https://github.com/rust-lang/rust/pull/120248#discussion_r1487936000. This PR allows casting pointers from something wrapping a trait object, to the trait object, i.e. `*const W<dyn A> -> *const dyn A` where `W` is `struct W<T: ?Sized>(T);`. r? compiler-errors Fixes https://github.com/rust-lang/rust/issues/128625
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions
