Skip to content

Commit

Permalink
fix stale method names
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed May 18, 2016
1 parent ccfb74e commit 639890d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/librustc/traits/project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
};
Expand Down

0 comments on commit 639890d

Please sign in to comment.