aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src
diff options
context:
space:
mode:
authorAndrey Tkachenko <[email protected]>2019-06-06 13:26:54 +0100
committerAndrey Tkachenko <[email protected]>2019-06-06 13:26:54 +0100
commit505b8d873ffe422358bb4ff47dc82d6c76d0772e (patch)
treeb5b9eb1151c6fdbfcbeeaaf4dfd2b2db015a6266 /crates/ra_hir/src
parent281c9eeaff8eac4e666089f80f67cf684e1d001b (diff)
[#1083] Try block syntax: fix tests
Diffstat (limited to 'crates/ra_hir/src')
-rw-r--r--crates/ra_hir/src/ty/infer.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_hir/src/ty/infer.rs b/crates/ra_hir/src/ty/infer.rs
index 579307d8a..6cc5dbc6f 100644
--- a/crates/ra_hir/src/ty/infer.rs
+++ b/crates/ra_hir/src/ty/infer.rs
@@ -948,7 +948,6 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> {
948 Expr::Block { statements, tail } => self.infer_block(statements, *tail, expected), 948 Expr::Block { statements, tail } => self.infer_block(statements, *tail, expected),
949 Expr::TryBlock { body } => { 949 Expr::TryBlock { body } => {
950 let _inner = self.infer_expr(*body, expected); 950 let _inner = self.infer_expr(*body, expected);
951
952 // FIXME should be std::result::Result<{inner}, _> 951 // FIXME should be std::result::Result<{inner}, _>
953 Ty::Unknown 952 Ty::Unknown
954 } 953 }