aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_self.snap
blob: 580e92a90571f8f2b095e29ffa21255242b74dab (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
---
created: "2019-01-25T19:27:09.519688600+00:00"
creator: [email protected]
expression: kind_completions
source: crates/ra_ide_api/src/completion/completion_item.rs
---
[
    CompletionItem {
        completion_kind: Reference,
        label: "the_field",
        kind: Some(
            Field
        ),
        detail: Some(
            "(u32,)"
        ),
        documentation: Some(
            Documentation(
                "This is the_field"
            )
        ),
        lookup: None,
        insert_text: None,
        insert_text_format: PlainText,
        source_range: [187; 187),
        text_edit: None
    },
    CompletionItem {
        completion_kind: Reference,
        label: "foo",
        kind: Some(
            Method
        ),
        detail: Some(
            "fn foo(self)"
        ),
        documentation: None,
        lookup: None,
        insert_text: Some(
            "foo()$0"
        ),
        insert_text_format: Snippet,
        source_range: [187; 187),
        text_edit: None
    }
]