about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-06-16 12:48:33 +0000
committerbors <bors@rust-lang.org>2022-06-16 12:48:33 +0000
commit7322a982f99e41cc2a025d1ae3b11a5acd4a771e (patch)
tree0f539d4e6cf6a46d5edcbdd296d4c505aa2795f2 /src/test/codegen/src-hash-algorithm
parent7ade4d49fc59ec939294897890375a8b86c743e2 (diff)
parent6df969f5f4e9dffd19024962e051e6f9f94e9805 (diff)
downloadrust-7322a982f99e41cc2a025d1ae3b11a5acd4a771e.tar.gz
rust-7322a982f99e41cc2a025d1ae3b11a5acd4a771e.zip
Auto merge of #12554 - XFFXFF:fix_11959, r=Veykril
fix: local items should not be completed in parent signature

fixes #11959

> We get a Bar completion for the following snippet which is wrong as the item is not visible in that position.
> ``` rust
> fn foo() -> $0 {
>    struct Bar;
> }
> ```

I investigated the problem and found that the scope of the cursor offset, also `CompletionContext.scope` is the body of the function
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions