rust/crates/ide-completion
bors 7322a982f9 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
2022-06-16 12:48:33 +00:00
..
src Auto merge of #12554 - XFFXFF:fix_11959, r=Veykril 2022-06-16 12:48:33 +00:00
Cargo.toml internal: Bump Dependencies 2022-06-10 17:30:02 +02:00