Confusing error overflow evaluating the requirement
caused by duplicate trait impl
#119839
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Current output
Desired output
No response
Rationale and extra context
No response
Other cases
If there is another
impl Trait
block before the duplicate one then the error message will refer to that firstimpl Trait
blockError message referring to the first trait impl
Rust Version
The text was updated successfully, but these errors were encountered: