diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-08 20:01:23 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-08 20:01:23 +0100 |
commit | 4e3769fbf2ff94a863ddb931cf6dfa7da9ac8172 (patch) | |
tree | fc27726da074c677ef7c603740dd674c60ed2419 /crates/vfs/src/vfs_path/tests.rs | |
parent | 16e142cd395f264ba5c6c3814ece92431415c089 (diff) | |
parent | 8482329d65ab4c916c5c385818b056c8176a6c75 (diff) |
Merge #9180
9180: fix: fix some IDE functionality inside attribute macros r=jonas-schievink a=jonas-schievink
In `SourceToDefCtx::find_container`, we might encounter a container that has an attribute macro. We need to skip that item, instead of bailing out and creating an empty `Resolver`, otherwise all names in the macro stay unresolved.
Part of https://github.com/rust-analyzer/rust-analyzer/issues/9142
bors r+
Co-authored-by: Jonas Schievink <[email protected]>
Diffstat (limited to 'crates/vfs/src/vfs_path/tests.rs')
0 files changed, 0 insertions, 0 deletions