]> git.lizzy.rs Git - rust.git/commitdiff
fix stale method names
authorNiko Matsakis <niko@alum.mit.edu>
Mon, 4 Apr 2016 19:28:52 +0000 (15:28 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 18 May 2016 00:25:18 +0000 (20:25 -0400)
src/librustc/traits/project.rs

index b6f7e19b04a560eb8745e4b47920978efc8e6f35..5c7095beb79c8e6221aa99dbbb9931061b93ed7c 100644 (file)
@@ -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);
         }
     };