aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/snapshots/tests__infer_trait_method_generic_1.snap
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-03-02 13:53:26 +0000
committerFlorian Diebold <[email protected]>2019-03-02 15:42:51 +0000
commitb7fdad8448cbd3a94c2cb877a1d209f3182ca0d5 (patch)
tree5149aa6cb21bd9fe3640a6f8a749000c1f962463 /crates/ra_hir/src/ty/snapshots/tests__infer_trait_method_generic_1.snap
parent00b09bcd8c96c37633964aa40df711dc013a6ca5 (diff)
Add a bunch of tests for type inference involving traits
None of them works correctly yet, of course.
Diffstat (limited to 'crates/ra_hir/src/ty/snapshots/tests__infer_trait_method_generic_1.snap')
-rw-r--r--crates/ra_hir/src/ty/snapshots/tests__infer_trait_method_generic_1.snap11
1 files changed, 11 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_trait_method_generic_1.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_trait_method_generic_1.snap
new file mode 100644
index 000000000..a71dbaf00
--- /dev/null
+++ b/crates/ra_hir/src/ty/snapshots/tests__infer_trait_method_generic_1.snap
@@ -0,0 +1,11 @@
1---
2created: "2019-03-02T13:49:53.771466423Z"
3creator: [email protected]
4source: crates/ra_hir/src/ty/tests.rs
5expression: "&result"
6---
7[33; 37) 'self': &[unknown]
8[92; 111) '{ ...d(); }': ()
9[98; 99) 'S': S
10[98; 108) 'S.method()': [unknown]
11