aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/ty/tests/data
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-01-21 20:47:01 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-01-21 20:47:01 +0000
commit0d2cb60f93c5e73c0171e83fef36b696cc5dd4ff (patch)
treee786aad9c46072c992c634466e834feb64c856fb /crates/ra_hir/src/ty/tests/data
parente0d8c86563b72e5414cf10fe16da5e88201447e2 (diff)
parente45f476d5691a6a0d994eb6f777bbf291348f93e (diff)
Merge #586
586: Fix panic trying to get substs on unknown type r=matklad a=flodiebold Fixes #585. Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/ra_hir/src/ty/tests/data')
-rw-r--r--crates/ra_hir/src/ty/tests/data/bug_585.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_hir/src/ty/tests/data/bug_585.txt b/crates/ra_hir/src/ty/tests/data/bug_585.txt
new file mode 100644
index 000000000..627702a38
--- /dev/null
+++ b/crates/ra_hir/src/ty/tests/data/bug_585.txt
@@ -0,0 +1,8 @@
1[11; 89) '{ ... } }': ()
2[17; 21) 'X {}': [unknown]
3[27; 87) 'match ... }': ()
4[33; 34) 'x': [unknown]
5[45; 52) 'A::B {}': [unknown]
6[56; 58) '()': ()
7[68; 74) 'A::Y()': [unknown]
8[78; 80) '()': ()