mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
internal: Lift out IdentContext from CompletionContext
This commit is contained in:
parent
bcf10cde13
commit
6e9c963348
21 changed files with 456 additions and 351 deletions
|
@ -9,7 +9,7 @@ use crate::{
|
|||
fn check_expected_type_and_name(ra_fixture: &str, expect: Expect) {
|
||||
let (db, pos) = position(ra_fixture);
|
||||
let config = TEST_CONFIG;
|
||||
let completion_context = CompletionContext::new(&db, pos, &config).unwrap();
|
||||
let (completion_context, _analysis) = CompletionContext::new(&db, pos, &config).unwrap();
|
||||
|
||||
let ty = completion_context
|
||||
.expected_type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue