From ad2da5b1dac87896772b4ae4087b4f9c83dc8ac9 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Sat, 2 Mar 2019 14:09:31 -0500 Subject: Remove commented out code --- crates/ra_hir/src/ty/infer.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/crates/ra_hir/src/ty/infer.rs b/crates/ra_hir/src/ty/infer.rs index 39a2c7a49..792d02132 100644 --- a/crates/ra_hir/src/ty/infer.rs +++ b/crates/ra_hir/src/ty/infer.rs @@ -456,15 +456,6 @@ impl<'a, D: HirDatabase> InferenceContext<'a, D> { } })?; - /* - if let ExprOrPatId::Expr(expr) = id { - match typable { - TypableDef::Function(func) => self.write_assoc_fn_resolution(expr, func), - _ => {} - }; - } - */ - resolved = Resolution::Def(item.into()); } -- cgit v1.2.3