mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 12:29:21 +00:00
Fix active parameter analysis
This commit is contained in:
parent
1be24e0899
commit
33cacde04b
2 changed files with 20 additions and 6 deletions
|
@ -380,7 +380,7 @@ fn expected_type_and_name(
|
|||
sema,
|
||||
token.clone(),
|
||||
).map(|ap| {
|
||||
let name = ap.ident().map(NameOrNameRef::Name);
|
||||
let name = dbg!(ap.ident().map(NameOrNameRef::Name));
|
||||
|
||||
let ty = strip_refs(ap.ty);
|
||||
(Some(ty), name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue