aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_if_let.snap
blob: badaed8fe09deb9e1bd72f70e56c3d1c8e94d43f (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
36
37
38
39
40
41
42
43
44
45
46
47
48
---
created: "2019-02-18T09:10:52.092577354Z"
creator: [email protected]
source: crates/ra_ide_api/src/completion/completion_item.rs
expression: kind_completions
---
[
    CompletionItem {
        label: "a",
        source_range: [214; 214),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [214; 214),
                    insert: "a"
                }
            ]
        },
        kind: Binding
    },
    CompletionItem {
        label: "b",
        source_range: [214; 214),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [214; 214),
                    insert: "b"
                }
            ]
        },
        kind: Binding
    },
    CompletionItem {
        label: "quux",
        source_range: [214; 214),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [214; 214),
                    insert: "quux()$0"
                }
            ]
        },
        kind: Function,
        detail: "fn quux()"
    }
]