aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/snapshots/tests__infer_tuple_struct_generics.snap
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2019-03-02 19:55:56 +0000
committerFlorian Diebold <[email protected]>2019-03-03 02:00:17 +0000
commitaffaf7700a86942f82e4cb25348c719bb928399a (patch)
treee8d4dfba9b06be10a00c6ccef42f0fce6fe4d9a2 /crates/ra_hir/src/ty/snapshots/tests__infer_tuple_struct_generics.snap
parentb7fdad8448cbd3a94c2cb877a1d209f3182ca0d5 (diff)
Represent unknown types as {unknown} instead of [unknown]
Since the latter could actually be a real type...
Diffstat (limited to 'crates/ra_hir/src/ty/snapshots/tests__infer_tuple_struct_generics.snap')
-rw-r--r--crates/ra_hir/src/ty/snapshots/tests__infer_tuple_struct_generics.snap6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_tuple_struct_generics.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_tuple_struct_generics.snap
index 783795cfd..5246794fe 100644
--- a/crates/ra_hir/src/ty/snapshots/tests__infer_tuple_struct_generics.snap
+++ b/crates/ra_hir/src/ty/snapshots/tests__infer_tuple_struct_generics.snap
@@ -1,6 +1,6 @@
1--- 1---
2created: "2019-02-20T21:31:12.911275141Z" 2created: "2019-03-02T19:54:58.566211313Z"
3creator: [email protected].2 3creator: [email protected].3
4source: crates/ra_hir/src/ty/tests.rs 4source: crates/ra_hir/src/ty/tests.rs
5expression: "&result" 5expression: "&result"
6--- 6---
@@ -17,7 +17,7 @@ expression: "&result"
17[124; 136) 'Option::Some': Some<&str>(T) -> Option<T> 17[124; 136) 'Option::Some': Some<&str>(T) -> Option<T>
18[124; 141) 'Option...e("x")': Option<&str> 18[124; 141) 'Option...e("x")': Option<&str>
19[137; 140) '"x"': &str 19[137; 140) '"x"': &str
20[147; 151) 'None': Option<[unknown]> 20[147; 151) 'None': Option<{unknown}>
21[161; 162) 'x': Option<i64> 21[161; 162) 'x': Option<i64>
22[178; 182) 'None': Option<i64> 22[178; 182) 'None': Option<i64>
23 23