Move coercion hack from `coerce_unsized` to `check_cast` by compiler-errors · Pull Request #138542 · rust-lang/rust

added 2 commits

March 15, 2025 18:41

@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

Mar 15, 2025

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

Mar 15, 2025
… r=<try>

Move coercion hack from `coerce_unsized` to `check_cast`

r? `@ghost`

lcnr

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

@rustbot rustbot added S-waiting-on-author

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

and removed S-waiting-on-review

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

labels

Jul 3, 2025

@rustbot rustbot removed the S-waiting-on-author

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

label

Dec 27, 2025