-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(completion): recursive super:: completion in crate root
#12447
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
Conversation
bcea7cd to
7fa9ef0
Compare
7fa9ef0 to
10c66f2
Compare
super:: completion in crate root
Veykril
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't only apply use paths, but to all paths, so we should add the is_crate_root check for add_nameref_keywords_with_colon to all of them, or rather, we should make is_crate_root a propery of CompletionContext and then just check for that inside add_nameref_keywords_with_colon without passing an extra bool
817240a to
b2c9ecf
Compare
|
☔ The latest upstream changes (presumably #12459) made this pull request unmergeable. Please resolve the merge conflicts. |
b2c9ecf to
a93633b
Compare
a93633b to
0c03de6
Compare
|
☔ The latest upstream changes (presumably #12562) made this pull request unmergeable. Please resolve the merge conflicts. |
|
I've done some major refactorings to the ide-completion crate, so you might wanna manually port your changes over again instead of rebasing, sorry 😅 |
useerroneously suggestssuper::as a completion option even when it's not valid. #12439