diff options
author | Florian Diebold <[email protected]> | 2019-02-09 19:55:51 +0000 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-02-09 20:37:30 +0000 |
commit | c0c3b37255423b3547614d74311c4193c0717b56 (patch) | |
tree | 1727ab1e847dff6142d7b596793a8be4417b5aa0 /crates/ra_hir/src/ty/snapshots | |
parent | f1afc933530a87bd0cc7b25726c9a7fff3f3e007 (diff) |
Fix another crash found when analyzing rustc
Diffstat (limited to 'crates/ra_hir/src/ty/snapshots')
-rw-r--r-- | crates/ra_hir/src/ty/snapshots/tests__infer_std_crash_4.snap | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/snapshots/tests__infer_std_crash_4.snap b/crates/ra_hir/src/ty/snapshots/tests__infer_std_crash_4.snap new file mode 100644 index 000000000..fb31883ce --- /dev/null +++ b/crates/ra_hir/src/ty/snapshots/tests__infer_std_crash_4.snap | |||
@@ -0,0 +1,16 @@ | |||
1 | --- | ||
2 | created: "2019-02-09T19:55:39.712470520Z" | ||
3 | creator: [email protected] | ||
4 | source: crates/ra_hir/src/ty/tests.rs | ||
5 | expression: "&result" | ||
6 | --- | ||
7 | [25; 110) '{ ... } }': () | ||
8 | [31; 108) 'match ... }': () | ||
9 | [37; 42) '*self': [unknown] | ||
10 | [38; 42) 'self': [unknown] | ||
11 | [53; 95) 'Borrow...), ..}': [unknown] | ||
12 | [74; 77) 'box': [unknown] | ||
13 | [78; 87) 'Primitive': [unknown] | ||
14 | [88; 89) 'p': [unknown] | ||
15 | [99; 101) '{}': () | ||
16 | |||