From eb77fe9e06994b0a541680450c287b10452ba91a Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 24 Feb 2015 11:49:50 -0500 Subject: [PATCH] Merge conflict: port default impls code --- src/librustc_typeck/collect.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs index 2899d8868cc..585e7cedc47 100644 --- a/src/librustc_typeck/collect.rs +++ b/src/librustc_typeck/collect.rs @@ -907,7 +907,7 @@ fn convert_item(ccx: &CrateCtxt, it: &ast::Item) { &enum_definition.variants); }, ast::ItemDefaultImpl(_, ref ast_trait_ref) => { - let trait_ref = astconv::instantiate_trait_ref(ccx, + let trait_ref = astconv::instantiate_trait_ref(&ccx.icx(&()), &ExplicitRscope, ast_trait_ref, Some(it.id),