Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigate to the actual impl of comparison operators #13332

Open
ChayimFriedman2 opened this issue Oct 2, 2022 · 0 comments
Open

Navigate to the actual impl of comparison operators #13332

ChayimFriedman2 opened this issue Oct 2, 2022 · 0 comments
Labels
A-ide general IDE features C-enhancement Category: enhancement

Comments

@ChayimFriedman2
Copy link
Contributor

Right now, if I "Go to" a comparison operator other than ==, and it is not overriden in the implementation for the type (that is, the type only implements eq() for PartialEq and not ne(), or only partial_cmp() and not lt(), le(), gt() or ge()) we navigate to the default implementation on PartialEq or PartialOrd. This does not help. We should navigate to eq() or partial_cmp() instead, or to the impl block.

@Veykril Veykril added A-ide general IDE features C-enhancement Category: enhancement labels Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ide general IDE features C-enhancement Category: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants