aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__struct_field_completion_autoderef.snap
blob: ec861bf7e0835826cccbfaa68c6c95afcaae1348 (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
Created: 2019-01-20T04:00:48.203230+00:00
Creator: [email protected]
Source: crates/ra_ide_api/src/completion/completion_item.rs

[
    CompletionItem {
        completion_kind: Reference,
        label: "the_field",
        kind: Some(
            Field
        ),
        detail: Some(
            "(u32, i32)"
        ),
        lookup: None,
        insert_text: None,
        insert_text_format: PlainText,
        source_range: [125; 126),
        text_edit: None
    },
    CompletionItem {
        completion_kind: Reference,
        label: "foo",
        kind: Some(
            Method
        ),
        detail: None,
        lookup: None,
        insert_text: Some(
            "foo($0)"
        ),
        insert_text_format: Snippet,
        source_range: [125; 126),
        text_edit: None
    }
]