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