aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap
blob: f20e4dcab8781719595a734224e1006c5f4f767a (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
---
created: "2019-02-18T09:10:51.944941588Z"
creator: [email protected]
source: crates/ra_ide_api/src/completion/completion_item.rs
expression: kind_completions
---
[
    CompletionItem {
        label: "foo",
        source_range: [187; 187),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [187; 187),
                    insert: "foo()$0"
                }
            ]
        },
        kind: Method,
        detail: "fn foo(self)"
    },
    CompletionItem {
        label: "the_field",
        source_range: [187; 187),
        text_edit: TextEdit {
            atoms: [
                AtomTextEdit {
                    delete: [187; 187),
                    insert: "the_field"
                }
            ]
        },
        kind: Field,
        detail: "(u32,)",
        documentation: Documentation(
            "This is the_field"
        )
    }
]