Skip to content

Commit 639890d

Browse files
committed
fix stale method names
1 parent ccfb74e commit 639890d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustc/traits/project.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -981,14 +981,14 @@ fn confirm_object_candidate<'cx, 'gcx, 'tcx>(
981981
{
982982
let self_ty = obligation_trait_ref.self_ty();
983983
let object_ty = selcx.infcx().shallow_resolve(self_ty);
984-
debug!("assemble_candidates_from_object_type(object_ty={:?})",
984+
debug!("confirm_object_candidate(object_ty={:?})",
985985
object_ty);
986986
let data = match object_ty.sty {
987987
ty::TyTrait(ref data) => data,
988988
_ => {
989989
span_bug!(
990990
obligation.cause.span,
991-
"assemble_candidates_from_object_type called with non-object: {:?}",
991+
"confirm_object_candidate called with non-object: {:?}",
992992
object_ty);
993993
}
994994
};

0 commit comments

Comments
 (0)