mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
internal: Record unresolved derive invocations in hir
This commit is contained in:
parent
989c06b25d
commit
6b7b09d329
8 changed files with 87 additions and 52 deletions
|
@ -146,6 +146,7 @@ impl ImportAssets {
|
|||
if let Some(_) = path.qualifier() {
|
||||
return None;
|
||||
}
|
||||
|
||||
let name = NameToImport::exact_case_sensitive(path.segment()?.name_ref()?.to_string());
|
||||
let candidate_node = attr.syntax().clone();
|
||||
Some(Self {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue