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__bug_585.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__bug_585.snap')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__bug_585.snap | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__bug_585.snap b/crates/ra_hir/src/ty/snapshots/tests__bug_585.snap index e7b42e413..4b5630bb6 100644 --- a/crates/ra_hir/src/ty/snapshots/tests__bug_585.snap +++ b/crates/ra_hir/src/ty/snapshots/tests__bug_585.snap | |||
@@ -1,15 +1,15 @@ | |||
1 | --- | 1 | --- |
2 | created: "2019-01-22T14:44:59.880187500+00:00" | 2 | created: "2019-03-02T19:54:58.488684667Z" |
3 | creator: [email protected] | 3 | creator: [email protected] |
4 | source: crates/ra_hir/src/ty/tests.rs | ||
4 | expression: "&result" | 5 | expression: "&result" |
5 | source: "crates\\ra_hir\\src\\ty\\tests.rs" | ||
6 | --- | 6 | --- |
7 | [11; 89) '{ ... } }': () | 7 | [11; 89) '{ ... } }': () |
8 | [17; 21) 'X {}': [unknown] | 8 | [17; 21) 'X {}': {unknown} |
9 | [27; 87) 'match ... }': () | 9 | [27; 87) 'match ... }': () |
10 | [33; 34) 'x': [unknown] | 10 | [33; 34) 'x': {unknown} |
11 | [45; 52) 'A::B {}': [unknown] | 11 | [45; 52) 'A::B {}': {unknown} |
12 | [56; 58) '()': () | 12 | [56; 58) '()': () |
13 | [68; 74) 'A::Y()': [unknown] | 13 | [68; 74) 'A::Y()': {unknown} |
14 | [78; 80) '()': () | 14 | [78; 80) '()': () |
15 | 15 | ||