aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__bindings_from_let.snap
blob: 1b4cbf91e337fc3e8ad0010322f0928fbfdc2de8 (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.090000719Z"
creator: [email protected]
source: crates/ra_ide_api/src/completion/completion_item.rs
expression: kind_completions
---
[
    CompletionItem {
        label: "quux",
        source_range: [79; 79),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [79; 79),
                    insert: "quux($0)"
                }
            ]
        },
        kind: Function,
        detail: "fn quux(x: i32)"
    },
    CompletionItem {
        label: "x",
        source_range: [79; 79),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [79; 79),
                    insert: "x"
                }
            ]
        },
        kind: Binding
    },
    CompletionItem {
        label: "y",
        source_range: [79; 79),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [79; 79),
                    insert: "y"
                }
            ]
        },
        kind: Binding
    }
]