From 8b79bed6dd9299af6caacc0c56a30ec3c2a92c92 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Tue, 7 Aug 2012 11:16:49 -0700 Subject: [PATCH] Clean up whitespace --- src/rustc/middle/typeck/check/method.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rustc/middle/typeck/check/method.rs b/src/rustc/middle/typeck/check/method.rs index 2f2da5b65bc7..38307485e85a 100644 --- a/src/rustc/middle/typeck/check/method.rs +++ b/src/rustc/middle/typeck/check/method.rs @@ -366,10 +366,10 @@ class lookup { } fn add_candidates_from_scope(use_assignability: bool) { + // If we're using coherence and this is one of the method invocation // forms it supports, don't use this method; it'll result in lots of // multiple-methods-in-scope errors. - if self.fcx.ccx.trait_map.contains_key(self.expr.id) { return; }