aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-01-21 21:52:35 +0000
committerFlorian Diebold <[email protected]>2019-01-21 21:52:35 +0000
commita2521106163d3aaeeecfb28cae42d6aba99bba3f (patch)
tree4ade9a3c88710600ca4375ea5f1790e6a23eabc4 /crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap
parent0d2cb60f93c5e73c0171e83fef36b696cc5dd4ff (diff)
Use insta for ty tests
Diffstat (limited to 'crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap')
-rw-r--r--crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap20
1 files changed, 20 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap
new file mode 100644
index 000000000..7cf947d4d
--- /dev/null
+++ b/crates/ra_hir/src/ty/snapshots/tests__infer_struct_generics.snap
@@ -0,0 +1,20 @@
1Created: 2019-01-21T21:48:20.678274444+00:00
2Creator: [email protected]
3Source: crates/ra_hir/src/ty/tests.rs
4
5[36; 38) 'a1': A<u32>
6[48; 49) 'i': i32
7[56; 147) '{ ...3.x; }': ()
8[62; 64) 'a1': A<u32>
9[62; 66) 'a1.x': u32
10[76; 78) 'a2': A<i32>
11[81; 91) 'A { x: i }': A<i32>
12[88; 89) 'i': i32
13[97; 99) 'a2': A<i32>
14[97; 101) 'a2.x': i32
15[111; 113) 'a3': A<i128>
16[116; 134) 'A::<i1...x: 1 }': A<i128>
17[131; 132) '1': i128
18[140; 142) 'a3': A<i128>
19[140; 144) 'a3.x': i128
20