aboutsummaryrefslogtreecommitdiff
path: root/crates/ide_completion/src/completions/snippet.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-08 20:01:23 +0100
committerGitHub <[email protected]>2021-06-08 20:01:23 +0100
commit4e3769fbf2ff94a863ddb931cf6dfa7da9ac8172 (patch)
treefc27726da074c677ef7c603740dd674c60ed2419 /crates/ide_completion/src/completions/snippet.rs
parent16e142cd395f264ba5c6c3814ece92431415c089 (diff)
parent8482329d65ab4c916c5c385818b056c8176a6c75 (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/ide_completion/src/completions/snippet.rs')
0 files changed, 0 insertions, 0 deletions