mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
implement a temporary workaround for #8058
This commit is contained in:
parent
858ad55437
commit
8cd94900f7
4 changed files with 37 additions and 7 deletions
|
@ -148,8 +148,10 @@ impl<'a> Render<'a> {
|
|||
..CompletionRelevance::default()
|
||||
});
|
||||
|
||||
if let Some(ref_match) = compute_ref_match(self.ctx.completion, ty) {
|
||||
item.ref_match(ref_match);
|
||||
if let Some(_ref_match) = compute_ref_match(self.ctx.completion, ty) {
|
||||
// FIXME
|
||||
// For now we don't properly calculate the edits for ref match
|
||||
// completions on struct fields, so we've disabled them. See #8058.
|
||||
}
|
||||
|
||||
item.build()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue