Open
Description
Code
`var_with_complicated_type >= another_var_with_complicated_type`
Current output
implementation for `ComplicatedType < ComplicatedType` and `ComplicatedType > ComplicatedType`
Desired output
implementation for `ComplicatedType >= ComplicatedType`
Rationale and extra context
rustc_on_unimplemented
should be applicable to specific trait methods, in addition to the trait as a whole. Then, if the error involves calling a specific trait method, the compiler can give a more specific error message.
In the specific case of PartialOrd
, this would also avoid repeating both type names twice.
Other cases
Rust Version
git commit 7349f6b50359fd1f11738765b8deec5ee02d8710
Anything else?
No response