Misleading error when implementing foreign trait on pointers to local types #99572
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Given the following code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=e0a6148a3b4952ab3abd1f4bd7784029
The current output is:
Ideally the output should look like:
The text was updated successfully, but these errors were encountered: