diff options
author | Florian Diebold <[email protected]> | 2019-03-02 19:55:56 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-03-03 02:00:17 +0000 |
commit | affaf7700a86942f82e4cb25348c719bb928399a (patch) | |
tree | e8d4dfba9b06be10a00c6ccef42f0fce6fe4d9a2 /crates/ra_hir/src/ty/snapshots/tests__infer_static.snap | |
parent | b7fdad8448cbd3a94c2cb877a1d209f3182ca0d5 (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_static.snap')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__infer_static.snap | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_static.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_static.snap index 5d90f56ed..e6ae195c4 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_static.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_static.snap | |||
@@ -1,14 +1,14 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-25T08:20:17.807316Z" | 2 | created: "2019-03-02T19:54:58.534478182Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | source: crates/ra_hir/src/ty/tests.rs | 4 | source: crates/ra_hir/src/ty/tests.rs |
5 | expression: "&result" | 5 | expression: "&result" |
6 | --- | 6 | --- |
7 | [85; 280) '{ ...MUT; }': () | 7 | [85; 280) '{ ...MUT; }': () |
8 | [173; 174) 'x': [unknown] | 8 | [173; 174) 'x': {unknown} |
9 | [177; 189) 'LOCAL_STATIC': [unknown] | 9 | [177; 189) 'LOCAL_STATIC': {unknown} |
10 | [199; 200) 'y': [unknown] | 10 | [199; 200) 'y': {unknown} |
11 | [203; 219) 'LOCAL_...IC_MUT': [unknown] | 11 | [203; 219) 'LOCAL_...IC_MUT': {unknown} |
12 | [229; 230) 'z': u32 | 12 | [229; 230) 'z': u32 |
13 | [233; 246) 'GLOBAL_STATIC': u32 | 13 | [233; 246) 'GLOBAL_STATIC': u32 |
14 | [256; 257) 'w': u32 | 14 | [256; 257) 'w': u32 |