Skip to content

Redact CoercePointee target type#136796

Closed
dingxiangfei2009 wants to merge 2 commits intorust-lang:masterfrom
dingxiangfei2009:redact-coerce-pointee-target-type
Closed

Redact CoercePointee target type#136796
dingxiangfei2009 wants to merge 2 commits intorust-lang:masterfrom
dingxiangfei2009:redact-coerce-pointee-target-type

Conversation

@dingxiangfei2009
Copy link
Copy Markdown
Contributor

@dingxiangfei2009 dingxiangfei2009 commented Feb 9, 2025

Fix #134846

The issue here is that __S is actually an implementation detail of derive(CoercePointee). This should not appear in our diagnostics. A better way to present this message is to designate it as <pointee generic type> {unsized} as opposed to the undecipherable __S here.

r? @compiler-errors

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

F-derive_coerce_pointee Feature: RFC 3621's oft-renamed implementation S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Confusing error when using CoercePointee

6 participants