diff options
author | Florian Diebold <[email protected]> | 2019-01-21 21:52:35 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-01-21 21:52:35 +0000 |
commit | a2521106163d3aaeeecfb28cae42d6aba99bba3f (patch) | |
tree | 4ade9a3c88710600ca4375ea5f1790e6a23eabc4 /crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap | |
parent | 0d2cb60f93c5e73c0171e83fef36b696cc5dd4ff (diff) |
Use insta for ty tests
Diffstat (limited to 'crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap new file mode 100644 index 000000000..862644145 --- /dev/null +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_tuple.snap | |||
@@ -0,0 +1,32 @@ | |||
1 | Created: 2019-01-21T21:48:20.676903109+00:00 | ||
2 | Creator: [email protected] | ||
3 | Source: crates/ra_hir/src/ty/tests.rs | ||
4 | |||
5 | [9; 10) 'x': &str | ||
6 | [18; 19) 'y': isize | ||
7 | [28; 170) '{ ...d"); }': () | ||
8 | [38; 39) 'a': (u32, &str) | ||
9 | [55; 63) '(1, "a")': (u32, &str) | ||
10 | [56; 57) '1': u32 | ||
11 | [59; 62) '"a"': &str | ||
12 | [73; 74) 'b': ((u32, &str), &str) | ||
13 | [77; 83) '(a, x)': ((u32, &str), &str) | ||
14 | [78; 79) 'a': (u32, &str) | ||
15 | [81; 82) 'x': &str | ||
16 | [93; 94) 'c': (isize, &str) | ||
17 | [97; 103) '(y, x)': (isize, &str) | ||
18 | [98; 99) 'y': isize | ||
19 | [101; 102) 'x': &str | ||
20 | [113; 114) 'd': ((isize, &str), &str) | ||
21 | [117; 123) '(c, x)': ((isize, &str), &str) | ||
22 | [118; 119) 'c': (isize, &str) | ||
23 | [121; 122) 'x': &str | ||
24 | [133; 134) 'e': (i32, &str) | ||
25 | [137; 145) '(1, "e")': (i32, &str) | ||
26 | [138; 139) '1': i32 | ||
27 | [141; 144) '"e"': &str | ||
28 | [155; 156) 'f': ((i32, &str), &str) | ||
29 | [159; 167) '(e, "d")': ((i32, &str), &str) | ||
30 | [160; 161) 'e': (i32, &str) | ||
31 | [163; 166) '"d"': &str | ||
32 | |||