Allow `*const W<dyn A> -> *const dyn A` ptr cast by WaffleLapkin · Pull Request #136127 · rust-lang/rust

@WaffleLapkin added the relnotes

Marks issues that should be documented in the release notes of the next release.

label

Jan 27, 2025

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Jan 27, 2025

compiler-errors

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

and removed S-waiting-on-author

Status: This is awaiting some action (such as code changes or more information) from the author.

labels

Feb 1, 2025

@traviscross traviscross added T-lang

Relevant to the language team

and removed T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Feb 5, 2025

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 9, 2025

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 10, 2025

ehuss

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 13, 2025

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 14, 2025

compiler-errors added a commit to compiler-errors/rust that referenced this pull request

Mar 24, 2025
…p_cast, r=compiler-errors"

This reverts commit 84c2050, reversing
changes made to a96fa31.

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 31, 2025
…i-obk

Revert "Rollup merge of rust-lang#136127 - WaffleLapkin:dyn_ptr_unwrap_cast, r=compiler-errors"

...not permanently tho. Just until we can land something like rust-lang#138542, which will fix the underlying perf issues (rust-lang#136127 (comment)). I just don't want this to land on beta and have people rely on this behavior if it'll need some reworking for it to be implemented performantly.

r? `@WaffleLapkin` or reassign -- sorry for reverting ur pr! i'm working on getting it re-landed soon :>

@lcnr lcnr mentioned this pull request

Mar 31, 2025

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 31, 2025

@lcnr lcnr mentioned this pull request

Mar 31, 2025

bors added a commit to rust-lang-ci/rust that referenced this pull request

Mar 31, 2025

jieyouxu pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request

Apr 2, 2025
Revert "Rollup merge of #136127 - WaffleLapkin:dyn_ptr_unwrap_cast, r=compiler-errors"

...not permanently tho. Just until we can land something like #138542, which will fix the underlying perf issues (rust-lang/rust#136127 (comment)). I just don't want this to land on beta and have people rely on this behavior if it'll need some reworking for it to be implemented performantly.

r? `@WaffleLapkin` or reassign -- sorry for reverting ur pr! i'm working on getting it re-landed soon :>

github-merge-queue bot pushed a commit to rust-lang/miri that referenced this pull request

Apr 2, 2025
Revert "Rollup merge of #136127 - WaffleLapkin:dyn_ptr_unwrap_cast, r=compiler-errors"

...not permanently tho. Just until we can land something like #138542, which will fix the underlying perf issues (rust-lang/rust#136127 (comment)). I just don't want this to land on beta and have people rely on this behavior if it'll need some reworking for it to be implemented performantly.

r? `@WaffleLapkin` or reassign -- sorry for reverting ur pr! i'm working on getting it re-landed soon :>

lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request

Apr 28, 2025
Revert "Rollup merge of #136127 - WaffleLapkin:dyn_ptr_unwrap_cast, r=compiler-errors"

...not permanently tho. Just until we can land something like #138542, which will fix the underlying perf issues (rust-lang/rust#136127 (comment)). I just don't want this to land on beta and have people rely on this behavior if it'll need some reworking for it to be implemented performantly.

r? `@WaffleLapkin` or reassign -- sorry for reverting ur pr! i'm working on getting it re-landed soon :>