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_const.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_const.snap')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__infer_const.snap | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_const.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_const.snap index a5eba3980..5382cb71a 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__infer_const.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_const.snap | |||
@@ -1,12 +1,12 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-02-25T07:26:34.115351100Z" | 2 | created: "2019-03-02T19:54:58.498050919Z" |
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 | [95; 213) '{ ...NST; }': () | 7 | [95; 213) '{ ...NST; }': () |
8 | [138; 139) 'x': [unknown] | 8 | [138; 139) 'x': {unknown} |
9 | [142; 153) 'LOCAL_CONST': [unknown] | 9 | [142; 153) 'LOCAL_CONST': {unknown} |
10 | [163; 164) 'z': u32 | 10 | [163; 164) 'z': u32 |
11 | [167; 179) 'GLOBAL_CONST': u32 | 11 | [167; 179) 'GLOBAL_CONST': u32 |
12 | [189; 191) 'id': u32 | 12 | [189; 191) 'id': u32 |