aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_show_both_completions_for_shadowing.snap
blob: 7af2f3eb97a7f61301161680f786e450e0d739bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
created: "2019-02-18T09:10:52.134207539Z"
creator: [email protected]
source: crates/ra_ide_api/src/completion/completion_item.rs
expression: kind_completions
---
[
    CompletionItem {
        label: "bar",
        source_range: [129; 129),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [129; 129),
                    insert: "bar"
                }
            ]
        },
        kind: Binding
    },
    CompletionItem {
        label: "foo",
        source_range: [129; 129),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [129; 129),
                    insert: "foo()$0"
                }
            ]
        },
        kind: Function,
        detail: "fn foo() ->"
    }
]