aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots')
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__enum_associated_method.snap19
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__union_associated_method.snap19
2 files changed, 38 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_associated_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_associated_method.snap
new file mode 100644
index 000000000..ee6518fc8
--- /dev/null
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__enum_associated_method.snap
@@ -0,0 +1,19 @@
1---
2created: "2019-06-29T10:30:34.110468474Z"
3creator: [email protected]
4source: crates/ra_ide_api/src/completion/completion_item.rs
5expression: kind_completions
6---
7[
8 CompletionItem {
9 label: "m",
10 source_range: [100; 100),
11 delete: [100; 100),
12 insert: "m()$0",
13 kind: Function,
14 detail: "fn m()",
15 documentation: Documentation(
16 "An associated method",
17 ),
18 },
19]
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__union_associated_method.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__union_associated_method.snap
new file mode 100644
index 000000000..1c1a250f4
--- /dev/null
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__union_associated_method.snap
@@ -0,0 +1,19 @@
1---
2created: "2019-06-29T10:37:44.968500164Z"
3creator: [email protected]
4source: crates/ra_ide_api/src/completion/completion_item.rs
5expression: kind_completions
6---
7[
8 CompletionItem {
9 label: "m",
10 source_range: [101; 101),
11 delete: [101; 101),
12 insert: "m()$0",
13 kind: Function,
14 detail: "fn m()",
15 documentation: Documentation(
16 "An associated method",
17 ),
18 },
19]