mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 04:44:57 +00:00
Infer correct expected type for generic struct fields
This commit is contained in:
parent
4a6cdd776d
commit
7a0c93c58a
4 changed files with 46 additions and 19 deletions
|
@ -667,6 +667,13 @@ fn foo() { A { the$0 } }
|
|||
),
|
||||
detail: "u32",
|
||||
deprecated: true,
|
||||
relevance: CompletionRelevance {
|
||||
exact_name_match: false,
|
||||
type_match: Some(
|
||||
CouldUnify,
|
||||
),
|
||||
is_local: false,
|
||||
},
|
||||
},
|
||||
]
|
||||
"#]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue