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

temp disable broken ref match completions for struct fields/methods #8142

Merged
merged 2 commits into from
Mar 23, 2021

Conversation

JoshMcguigan
Copy link
Contributor

This PR implements a temporary workaround for #8058 by disabling ref match completions for struct fields and methods. Disabling this doesn't break any existing functionality (that I am aware of) since these completions were broken.

I plan to keep working on a real fix for the underlying issue here, but I think a proper fix could take some time, so I'd prefer to quickly fix the bug to buy some more time to implement a better solution (which would ultimately allow re-enabling ref matches for struct fields and methods).

@JoshMcguigan
Copy link
Contributor Author

JoshMcguigan commented Mar 22, 2021

changelog fix incorrect ref match completions for struct fields/methods

@matklad
Copy link
Member

matklad commented Mar 22, 2021

r=me with a test added!

@JoshMcguigan
Copy link
Contributor Author

My latest commit adds a test to demonstrate that this disabled ref matches for struct fields/methods.

@matklad
Copy link
Member

matklad commented Mar 23, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Mar 23, 2021

@bors bors bot merged commit bf3a8eb into rust-lang:master Mar 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants