From 639890d92da1bbe62dc669ff1a122a23da7bc0cd Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Mon, 4 Apr 2016 15:28:52 -0400 Subject: [PATCH] fix stale method names --- src/librustc/traits/project.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/librustc/traits/project.rs b/src/librustc/traits/project.rs index b6f7e19b04a5..5c7095beb79c 100644 --- a/src/librustc/traits/project.rs +++ b/src/librustc/traits/project.rs @@ -981,14 +981,14 @@ fn confirm_object_candidate<'cx, 'gcx, 'tcx>( { let self_ty = obligation_trait_ref.self_ty(); let object_ty = selcx.infcx().shallow_resolve(self_ty); - debug!("assemble_candidates_from_object_type(object_ty={:?})", + debug!("confirm_object_candidate(object_ty={:?})", object_ty); let data = match object_ty.sty { ty::TyTrait(ref data) => data, _ => { span_bug!( obligation.cause.span, - "assemble_candidates_from_object_type called with non-object: {:?}", + "confirm_object_candidate called with non-object: {:?}", object_ty); } };