Skip to content

fix coerce unsized impl restriction#1935

Open
lcnr wants to merge 1 commit intorust-lang:masterfrom
lcnr:coerce-unsized-impl
Open

fix coerce unsized impl restriction#1935
lcnr wants to merge 1 commit intorust-lang:masterfrom
lcnr:coerce-unsized-impl

Conversation

@lcnr
Copy link
Contributor

@lcnr lcnr commented Jul 17, 2025

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jul 17, 2025
@lcnr lcnr force-pushed the coerce-unsized-impl branch from c523078 to 79f2fd5 Compare July 17, 2025 11:20
@ehuss
Copy link
Contributor

ehuss commented Oct 10, 2025

Is there a test in rust-lang/rust for this particular rule?

@lcnr
Copy link
Contributor Author

lcnr commented Oct 13, 2025

not that I can see xd

@ehuss
Copy link
Contributor

ehuss commented Oct 30, 2025

Note: I believe @traviscross indicated he was working on this, but needed to figure out how to generalize how it is expressed.

@rustbot

This comment has been minimized.

@ehuss ehuss force-pushed the coerce-unsized-impl branch from 79f2fd5 to c9646b2 Compare January 27, 2026 22:58
@rustbot
Copy link
Collaborator

rustbot commented Jan 27, 2026

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@traviscross traviscross added the I-lang-docs-nominated Nominated for discussion during a lang-docs team meeting. label Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

I-lang-docs-nominated Nominated for discussion during a lang-docs team meeting. S-waiting-on-review Status: The marked PR is awaiting review from a maintainer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Foo<T> can implement CoerceUnsized<Foo<U>> when T implements CoerceUnsized<U> rather than CoerceUnsized<Foo<U>>

4 participants