aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/ty/snapshots/tests__generic_fn.snap23
1 files changed, 23 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__generic_fn.snap b/crates/ra_hir/src/ty/snapshots/tests__generic_fn.snap
new file mode 100644
index 000000000..4436dd8aa
--- /dev/null
+++ b/crates/ra_hir/src/ty/snapshots/tests__generic_fn.snap
@@ -0,0 +1,23 @@
1---
2created: "2019-01-25T23:18:55.019197432+00:00"
3creator: [email protected]
4expression: "&result"
5source: crates/ra_hir/src/ty/tests.rs
6---
7[10; 11) 'x': T
8[21; 30) '{ x }': T
9[27; 28) 'x': T
10[44; 45) 'x': &T
11[56; 65) '{ x }': &T
12[62; 63) 'x': &T
13[77; 138) '{ ...(z); }': ()
14[87; 88) 'y': u32
15[91; 96) '10u32': u32
16[102; 104) 'id': fn id<u32>
17[102; 107) 'id(y)': u32
18[105; 106) 'y': u32
19[117; 118) 'x': bool
20[127; 132) 'clone': fn clone<bool>
21[127; 135) 'clone(z)': bool
22[133; 134) 'z': &bool
23