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_function_generics.snap | |
parent | 0d2cb60f93c5e73c0171e83fef36b696cc5dd4ff (diff) |
Use insta for ty tests
Diffstat (limited to 'crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap new file mode 100644 index 000000000..386acc0b3 --- /dev/null +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_function_generics.snap | |||
@@ -0,0 +1,19 @@ | |||
1 | Created: 2019-01-21T21:48:20.669112954+00:00 | ||
2 | Creator: [email protected] | ||
3 | Source: crates/ra_hir/src/ty/tests.rs | ||
4 | |||
5 | [10; 11) 't': [unknown] | ||
6 | [21; 26) '{ t }': [unknown] | ||
7 | [23; 24) 't': [unknown] | ||
8 | [38; 98) '{ ...(1); }': () | ||
9 | [44; 46) 'id': fn(T) -> T | ||
10 | [44; 52) 'id(1u32)': T | ||
11 | [47; 51) '1u32': u32 | ||
12 | [58; 68) 'id::<i128>': fn(T) -> T | ||
13 | [58; 71) 'id::<i128>(1)': T | ||
14 | [69; 70) '1': T | ||
15 | [81; 82) 'x': T | ||
16 | [90; 92) 'id': fn(T) -> T | ||
17 | [90; 95) 'id(1)': T | ||
18 | [93; 94) '1': T | ||
19 | |||