From affaf7700a86942f82e4cb25348c719bb928399a Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sat, 2 Mar 2019 20:55:56 +0100 Subject: Represent unknown types as {unknown} instead of [unknown] Since the latter could actually be a real type... --- .../ra_hir/src/ty/snapshots/tests__recursive_vars.snap | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'crates/ra_hir/src/ty/snapshots/tests__recursive_vars.snap') diff --git a/crates/ra_hir/src/ty/snapshots/tests__recursive_vars.snap b/crates/ra_hir/src/ty/snapshots/tests__recursive_vars.snap index c3227ff7e..1a4388b50 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__recursive_vars.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__recursive_vars.snap @@ -1,14 +1,14 @@ --- -created: "2019-01-26T22:42:22.329980185+00:00" -creator: insta@0.5.2 -expression: "&result" +created: "2019-03-02T19:54:58.571823250Z" +creator: insta@0.6.3 source: crates/ra_hir/src/ty/tests.rs +expression: "&result" --- [11; 48) '{ ...&y]; }': () -[21; 22) 'y': &[unknown] -[25; 32) 'unknown': &[unknown] -[38; 45) '[y, &y]': [&&[unknown]] -[39; 40) 'y': &[unknown] -[42; 44) '&y': &&[unknown] -[43; 44) 'y': &[unknown] +[21; 22) 'y': &{unknown} +[25; 32) 'unknown': &{unknown} +[38; 45) '[y, &y]': [&&{unknown}] +[39; 40) 'y': &{unknown} +[42; 44) '&y': &&{unknown} +[43; 44) 'y': &{unknown} -- cgit v1.2.3